Last active
June 12, 2020 23:02
-
-
Save jmoyers/f069aefcf35e688288d049a51dbf6483 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
#HotkeyModifierTimeout -1 | |
SetStoreCapsLockMode, Off | |
SendMode Input | |
SetWorkingDir %A_ScriptDir% | |
$f3::reload | |
$2:: | |
if !WinActive("ahk_exe eqgame.exe") { | |
SetTimer, TigerClaw, Off | |
SetTimer, Kick, Off | |
RepeatKey := false | |
} else { | |
RepeatKey := !RepeatKey | |
If (RepeatKey) { | |
SetTimer, TigerClaw, 1000 | |
SetTimer, Kick, 1000 | |
} Else { | |
SetTimer, TigerClaw, Off | |
SetTimer, Kick, Off | |
} | |
} | |
Send, 2 | |
Return | |
$z:: | |
SetTimer, NoSleep, 10000 | |
Send, z | |
return | |
ChatActive := false | |
$enter:: | |
if !WinActive("ahk_exe eqgame.exe") { | |
ChatActive := false | |
} else { | |
ChatActive := !ChatActive | |
} | |
Send {enter} | |
return | |
TigerClaw: | |
if WinActive("ahk_exe eqgame.exe") && !ChatActive { | |
Send 2 | |
} | |
return | |
Kick: | |
if WinActive("ahk_exe eqgame.exe") && !ChatActive { | |
Send 3 | |
} | |
Return | |
NoSleep: | |
if WinActive("ahk_exe eqgame.exe") && !ChatActive { | |
Send a | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment