As some of you may know, i have been trying to put failsafes into my script, well this one kinda blew up in my face.
SCAR Code:Procedure WalkToStore;
Var
i:integer;
Begin
i:=i+1;
repeat
If FindColorSpiralTolerance(x,y,Foodstore,583,22,682,138,15)Then
mouse(x,y,5,5,True);
until
i>10 or flag=true//where the error is says "type mismatch"
if Flag=true then
wait (x)
End;
thanks ya'll!






Reply With Quote




