; dont touch these
#NoEnv
#SingleInstance Force
SetKeyDelay -1,-1,-1
;simple delays, likely dont have to touch these
aspdDelay := 250
gearChangeDelay := 150
foodDelay := 3000
; hotkeys for what you want to do
; SPECIAL NOTE: if they use an F key, they should be simply "F1" for example
hkChBuff := "$q"
hkChSight := "$s"
hkChBodyRelo := "$d"
hkChFIST := "$f"
; SPECIAL NOTE: if the following use an F key, they should be bracketed, "{F1}" for example
; gears
hkGrDiablosRing := "m"
hkGrBattleClub := ","
hkGrCecilFist := "."
; items
hkItBoxOfGloom := "j"
hkItBoxOfResentment := "k"
hkItRuneCake := "l"
;skills
hkSkSight := "s"
hkSkBodyRelo := "n"
hkSkFIST := "{F9}"
Home::
{
WinGet thisPID, PID, A
Hotkey IfWinActive, ahk_pid %thisPID%
Hotkey %hkChSight%, Sight
Hotkey %hkChBodyRelo%, BodyRelo
Hotkey %hkChFIST%, FIST
Return
}
Sight:
{
Sleep %aspdDelay%
ControlSend ,,%hkGrDiablosRing%, ahk_pid %thisPID%
Sleep %gearChangeDelay%
ControlSend ,,%hkSkSight%, ahk_pid %thisPID%
Sleep %aspdDelay%
ControlSend ,,%hkGrDiablosRing%, ahk_pid %thisPID%
}
BodyRelo:
{
Sleep %aspdDelay%
ControlSend ,,%hkGrCecilFist%, ahk_pid %thisPID%
Sleep %gearChangeDelay%
ControlSend ,,%hkSkBodyRelo%, ahk_pid %thisPID%
}
FIST:
{
Sleep %aspdDelay%
ControlSend ,,%hkGrBattleClub%, ahk_pid %thisPID%
Sleep %gearChangeDelay%
ControlSend ,,%hkSkFIST%, ahk_pid %thisPID%
}
End::Suspend