Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- beloopn=0
- t=0
- while t=0
- {
- beloopn=1
- PixelSearch,Jumpx,Jumpy,1399,256,1635,564,0x00FFFF,20,Fast
- If %ErrorLevel% = 1
- {
- MsgBox, Color not found, route complete or you screwed up.
- }
- else if %ErrorLevel% = 2
- {
- MsgBox, cant see the window
- sleep,5000
- }
- else %ErrorLevel% = 0
- {
- Send {d down}
- sleep 500
- Send {Click %Jumpx%,%Jumpy%}
- Send {d up}
- sleep,15000
- }
- +insert::
- if beloopn = 1
- Break, SubRoutine
- }
- Return
Add Comment
Please, Sign In to add comment