SCAR Code:procedure JumpStile;
begin
x := 389;
y := 323;
repeat
FindColorTolerance(x,y,StileMS,6,3,510,337,5);
MMouse(x,y,4,4);
until (IsUpText('limb'));
Mouse(x,y,5,5,true);
end;
I intended for it to find the stile (in the cabbage patch) along the fence.
The whole thing is one color, so what it was supposed to do was:
Find a color.
If it's the stile, jump it.
If not, find the next instance of the color.
Until the stile is found.
Loop if not found.
Instead, it just hovers the mouse around one area (a bit too east of the stile), when I want it to mouse over all the pixels of that color.
Help please.





Reply With Quote






i didn't get what you meaned
:wink:






