Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Misc.au3>
- func exitTheScript()
- Exit
- EndFunc
- HotKeySet("{F12}", "exitTheScript")
- Local $hDLL = DllOpen("user32.dll")
- while 1
- ; Exura Ico - F1
- $pixel1 = PixelGetColor(1850 , 308)
- If $pixel1 = 0x5D626E Then
- Sleep(20)
- If Not @error Then
- Send("{F1 1}")
- EndIf
- ; Ultimate Health Potion - F3 , Supreme Health Potion - 0 (Ins)
- If Not _IsPressed("72", $hDLL) Or _IsPressed("60", $hDLL) Then
- ; Mana Potion - F2
- $pixel1 = PixelGetColor(1847 , 320)
- If $pixel1 = 0x535864 Then
- Sleep(20)
- If Not @error Then
- Send("{F2 1}")
- EndIf
- EndIf
- Sleep(100)
- WEnd
- DllClose($hDLL)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement