Hi, I have a problem:
I need an "If" it finds a color within a box, not just whole screen.
And if it find the color continiue a few lines before do the "If" thing again.
Here is the script with where i need help to get it.
var i: Integer;
Begin
i:= 0;
Repeat
i:= i + 1;
Writeln(IntToStr(i));
Wait(1500);
MoveMousesmooth(169,39);
Wait(1500);
ClickMouse(169,39, true);// About here, If true do line 10-17.
Wait(1500);
MoveMouseSmooth(647,342);
Wait(1500);
ClickMouse(647,342, true);
Wait(3500);
MoveMouseSmooth(202,38);
Wait(1500);
ClickMouse(202,38, true);// And about here, If true do line 18-29.
Wait(1500);
MoveMouseSmooth(414,465);
Wait(1500);
ClickMouse(414,465, true);
Wait(1500);
MoveMouseSmooth(764,488);
Wait(1500);
ClickMouse(764,488, true);
Wait(2500);
MoveMouseSmooth(158,81)
Wait(1500);
ClickMouse(158,81, true);// And about here, If true do line 30-42.
Wait(1500);
MoveMouseSmooth(414,360);
wait(1500);
ClickMouse(414,360, true);
Wait(1500);
MoveMouseSmooth(769,381)
Wait(1500);
ClickMouse(769,381, true);
Wait(5500);
MoveMouseSmooth(116,34);
Wait(1500);
ClickMouse(116,34, true); // And about here, If true do line rest and start all over.
Wait(1500);
MoveMouseSmooth(194,228);
Wait(1500);
ClickMouse(194,228, true);
Wait(1500);
MoveMouseSmooth(405,252);
Wait(1500);
ClickMouse(405,252, true);
Until(i >= 99999);
end.
I know it kinda easy, but i'm new to this.
Please help
