Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Inventory.au3"
- Local $healTimer = TimerInit()
- Local $qTimer = TimerInit()
- $p = False
- $x = False
- $q = False
- HotKeySet("y", switchHotkeyActivation)
- HotKeySet("{Numpad3}",Terminate)
- while 1
- Sleep(100)
- Local $healDiff = TimerDiff($healTimer)
- Local $qDiff = TimerDiff($qTimer)
- ;if($healDiff > 4100) and (Not $x) Then
- ; Send("e")
- ; Send("{Enter}")
- ; Send("Heal Inc.")
- ; Send("{Enter}")
- ; Local $healTimer = TimerInit()
- ;EndIf
- if($qDiff > 2000) Then
- $q = not $q
- EndIf
- WEnd
- Func q_fast()
- if($q) Then
- Send("{q}")
- MouseClick("")
- $q = not $q
- Local $qTimer = TimerInit()
- EndIf
- EndFunc
- Func switchHotkeyActivation()
- $p = not $p
- if($p) Then
- HotKeySet("{TAB}", tab_to_num)
- HotKeySet("d", d_to_num)
- HotKeySet("3", three_to_num)
- HotKeySet("4", four_to_num)
- HotKeySet("5", five_to_num)
- HotKeySet("6", six_to_num)
- HotKeySet("q", q_fast)
- Else
- HotKeySet("6")
- HotKeySet("5")
- HotKeySet("4")
- HotKeySet("3")
- HotKeySet("d")
- HotKeySet("{TAB}")
- HotKeySet("q")
- EndIf
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement