Цитата(rdg @ 4.1.2019, 7:41)
I do a search to look for a bug in BATTLE (imagine below), there is not an error on the screen, it returns to the beginning of the script, but it appears bug on the screen (will be different, now will have a bug on the screen) it will tighten F11
if it finds a picture, presses 20 times on f11 every 0.3 seconds. Then all over again. Searches for a picture if it finds it - presses f11 20 times. If not found then: 0 - bug not found
Код
set #FindBug findimage (353, 159 500, 260 (C:\Users\GRU\Downloads\atk.bmp) %arr 2 60 1 20)
if #FindBug > 0
for #Number 1 20 1
//Send_down f11 300
Send f11 300
end_for
else
msg #FindBug - bug not found
end_if