Darkyy@
yea...i did mention last time when u ask it
u are missing a loop
right now the program will only run the pixelsearch command once and stop
and u forgot to put a equal sign between ErrorLevel and 3
and according to the AHK documentation, there does not exist Errorlevel 3 for pixelsearch
and click has nothing to do with F10
click command only works for left, right middle clicks, not keyboard keystrokes, it should be "send {f10}"
correct format:
Code:
loop
{
IfWinActive, [Conquer2.0]
{
PixelSearch, Px, Py, 32, 690, 36, 694, 0x0F078F, 10, Fast
if ErrorLevel = 1
send {f10}
}
sleep 1000
}
dont invent new syntax oor parameters, its guarantee not working
instead, follow closely to the help file examples, do some copy and paste for testing purpose
overall, good try, every one has to start their first step in somewhere