SHARE
TWEET

Untitled

a guest May 21st, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <Misc.au3>
  2.  
  3. func exitTheScript()
  4.     Exit
  5. EndFunc
  6.  
  7. HotKeySet("{F12}", "exitTheScript")
  8.  
  9. Local $hDLL = DllOpen("user32.dll")
  10.  
  11. while 1
  12.  
  13.     ; Exura Ico - F1
  14.     $pixel1 = PixelSearch(1847, 305, 1850, 311, 0x5D626E)
  15.     If Not @error Then
  16.         Send("{F1 1}")
  17.     EndIf
  18.  
  19.     ; Ultimate Health Potion - F3 , Supreme Health Potion - 0 (Ins)
  20.     If Not _IsPressed("72", $hDLL) Or _IsPressed("60", $hDLL) Then
  21.         ; Mana Potion - F2
  22.         $pixel2 = PixelSearch(1840, 318, 1842, 322, 0x535864)
  23.         If Not @error Then
  24.             Send("{F2 1}")
  25.         EndIf
  26.     EndIf
  27.  
  28. WEnd
  29.  
  30. DllClose($hDLL)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top