Problem on Colorsearching 2 things.
My code got no errors, bugs, but i cant get past the first place to click on a color and for my macro to work i need it to do an serie of that, it stops after the end begin sequence, but ive did alot of searching on the web and trying to figure out how to solve it but nothing matches my search, well what do i need to do? why does it stop after the first click?
It basically stops after the first end; - why ? i need to know please.
if (FindColor(x, y, 6316535, 0, 225, 373, 285)) then
begin
MoveMouse(x, y);
clickmouse(x, y, True);
Wait(1000);
Lit := True;
end;
//Enter first battle
if (FindColor(x, y, 3160008, 0, 225, 224, 220)) then
begin
MoveMouse(x, y);
clickmouse(x, y, True);
Wait(2000);
Lit := True;
end;
Last edited by zenmai : 11-04-2009 at 12:25 PM.
|