hiya folks its been a long long time ive posted something on this forums :$
but ones again i need your help
i made a small script for a game(nostale)mini game
something like this
SCAR Code:
program New;
var
x,y: Integer;
begin
repeat
if (FindColorTolerance(x,y,5105865,606,570,640,575,15))or (FindColorTolerance(x,y,45849,606,570,640,575,15))
or (FindColorTolerance(x,y,11301376,606,570,640,575,15))then
SendArrow(1)
if (FindColorTolerance(x,y,5105865,414,567,420,570,15))or (FindColorTolerance(x,y,11301376,414,567,420,570,15))
or (FindColorTolerance(x,y,38026,414,567,420,570,15))then
SendArrow(3)
else
begin
Wait(120+random(20));
sendarrow(0)
end
until false
end.
easy...it works but i wanted to make it better
something like this
SCAR Code:
program New;
var
x,y: Integer;
begin
while (wait(1000));
SendArrow(3)DO
begin
(FindColorTolerance(x,y,5105865,606,570,640,575,15))or (FindColorTolerance(x,y,45849,606,570,640,575,15))
or (FindColorTolerance(x,y,11301376,606,570,640,575,15))then
SendArrow(1)
if (FindColorTolerance(x,y,5105865,414,567,420,570,15))or (FindColorTolerance(x,y,11301376,414,567,420,570,15))
or (FindColorTolerance(x,y,38026,414,567,420,570,15))then
SendArrow(3)
end;
end.
but then im getting this error
PHP Code:
Line 8: [Error] (8:19): 'DO' expected in script
can someone plz help me ones again
?