So how can i make that script terminates?
it stops if its false
Printable View
So how can i make that script terminates?
it stops if its false
SCAR Code:Begein
Repeat
Wait(1000)
I:=I+1
Until
I=5
if i=5 then
TerminateScript
end;
^something like that
OR
function FindColor:Boolean;
If Findcolorspiral(x,y,6666,1,1,300,300)then
Result:=True;
end.
SCAR Code:Begin
repeat
Dacne;
Until FindColor=False
If FindColor=False then
TerminateScript;
end.
first one waits one second and adds a number.
If the number (i) =5 then it will stop and terminate the script.
Second one continues "dacceing" until the specific color is not found
i know they are vague examples, tell me if you need more help
Ok tnx