SHARE
TWEET

Untitled

a guest Dec 12th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "Inventory.au3"
  2.  
  3. Local $healTimer = TimerInit()
  4. Local $qTimer = TimerInit()
  5. $p = False
  6. $x = False
  7. $q = False
  8.  
  9. HotKeySet("y", switchHotkeyActivation)
  10. HotKeySet("{Numpad3}",Terminate)
  11.  
  12. while 1
  13.    Sleep(100)
  14.    Local $healDiff = TimerDiff($healTimer)
  15.    Local $qDiff = TimerDiff($qTimer)
  16.    ;if($healDiff > 4100) and (Not $x) Then
  17.     ;  Send("e")
  18.     ;  Send("{Enter}")
  19.     ;  Send("Heal Inc.")
  20.     ;  Send("{Enter}")
  21.     ;  Local $healTimer = TimerInit()
  22.    ;EndIf
  23.    if($qDiff > 2000) Then
  24.       $q = not $q
  25.    EndIf
  26. WEnd
  27.  
  28. Func q_fast()
  29.    if($q) Then
  30.       Send("{q}")
  31.       MouseClick("")
  32.       $q = not $q
  33.       Local $qTimer = TimerInit()
  34.    EndIf
  35. EndFunc
  36.  
  37.  
  38. Func switchHotkeyActivation()
  39.    $p = not $p
  40.    if($p) Then
  41.       HotKeySet("{TAB}", tab_to_num)
  42.       HotKeySet("d", d_to_num)
  43.       HotKeySet("3", three_to_num)
  44.       HotKeySet("4", four_to_num)
  45.       HotKeySet("5", five_to_num)
  46.       HotKeySet("6", six_to_num)
  47.       HotKeySet("q", q_fast)
  48.    Else
  49.       HotKeySet("6")
  50.       HotKeySet("5")
  51.       HotKeySet("4")
  52.       HotKeySet("3")
  53.       HotKeySet("d")
  54.       HotKeySet("{TAB}")
  55.       HotKeySet("q")
  56.    EndIf
  57.  
  58. EndFunc
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