Jukka
Active Member
good tut! though i learned nothing 
ooh nice man, good job!!!!
Scar User Educator pl0x!!!!!!
program ExampleConstant2;
var
x,y: Integer;
const
FishColor= 19245;//Set the color of the fish
begin
if(FindColor(x,y,FishColor,0,0,600,600)) then
begin
Writeln('Found Fish');
end else
Writeln('Did not find Fish');
end.
program ExampleConstant2;
var
x,y: Integer;
const
FishColor= 19245;//Set the color of the fish
begin
if(FindColor(x,y,FishColor,0,0,600,600)) then
begin
Writeln('Found Fish')
end else
Writeln('Did not find Fish')
end.
I don't think it matters much, but when you are doing an If+Then+Else Procedure, do you need to add semi-colons?
Wouldn't these two be exactly the same?
Code:program ExampleConstant2; var x,y: Integer; const FishColor= 19245;//Set the color of the fish begin if(FindColor(x,y,FishColor,0,0,600,600)) then begin Writeln('Found Fish'); end else Writeln('Did not find Fish'); end.
Code:program ExampleConstant2; var x,y: Integer; const FishColor= 19245;//Set the color of the fish begin if(FindColor(x,y,FishColor,0,0,600,600)) then begin Writeln('Found Fish') end else Writeln('Did not find Fish') end.
Thanks
i just have 1 question what do you mean by findcolor is the same as findcolor spiral except findcolorspiral si used for colors that take up more space? and i never see findcolor in scripts i always see findcolorspiral
program StoreOre;
var
x,y: Integer;
const
Coalcolor=2175795;
const
Error=16711680;
begin
if(FindColor(x,y,Coalcolor,124,214,635,546))then
Writeln('found coal');
begin
Wait(1000+random(2000));
Findcolor(x,y,2175795,124,214,635,546)
MoveMouseSmoothEX(x,y,o,o);
Mouse(x,y,0,0,true);
repeat
until(InvFull);
end;
end.

