Skip to content

Instantly share code, notes, and snippets.

@jmoyers
Last active June 12, 2020 23:02
Show Gist options
  • Save jmoyers/f069aefcf35e688288d049a51dbf6483 to your computer and use it in GitHub Desktop.
Save jmoyers/f069aefcf35e688288d049a51dbf6483 to your computer and use it in GitHub Desktop.
#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