Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- check_haste()
- {
- WinActivate,Path of Exile
- CoordMode Pixel, Relative
- CoordMode Mouse, Relative
- tooltip, looking if Haste aura is active ;FoundX :=0
- ;FoundY :=0
- ImageSearch, FoundX, FoundY, 1, 1, 1795, 126, haste.png
- if ErrorLevel = 2
- tooltip Could not conduct the search.
- else if ErrorLevel = 1
- ;tooltip Image could not be found on the screen.
- SendInput % haste
- else{
- mousemove, %FoundX%, %FoundY%, 5
- ;tooltip The image was found at %FoundX%x%FoundY%.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement