Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =::
- Loop
- {
- sleep 1
- CoordMode, Pixel, Screen
- PixelSearch, FoundX, FoundY, 741, 529, 793, 573, 0xAB9E7E, 0, Fast RGB
- If ErrorLevel = 0
- {
- send, {right}
- }
- PixelSearch, FoundX, FoundY, 703, 482, 745, 529, 0xAB9E7E, 0, Fast RGB
- If ErrorLevel = 0
- {
- send, {up}
- }
- PixelSearch, FoundX, FoundY, 660, 525, 706, 572, 0xAB9E7E, 0, Fast RGB
- If ErrorLevel = 0
- {
- send, {left}
- }
- PixelSearch, FoundX, FoundY, 702, 559, 756, 621, 0xAB9E7E, 1, Fast RGB
- +287 +301
- If ErrorLevel = 0
- {
- send, {down}
- }
- }
- return
Add Comment
Please, Sign In to add comment