You are on page 1of 1

;;;;; Enable/disable all hotkeys ;;;;;

~*Enter::
~*NumpadEnter::
Suspend, Permit
if (bInChatRoom == True)
return
Suspend
if (A_IsSuspended == true)
SetScrollLockState, Off
else
SetScrollLockState, On
return

;; Escape will cancel chatting, so turn the hotkeys back on


~*Esc::
Suspend, Permit
if (bInChatRoom == True)
return
Suspend, Off
SetScrollLockState, On
return

*ScrollLock::
Suspend, Permit
bInChatRoom := not bInChatRoom
if (bInChatRoom == True)
{
Suspend, On
SetScrollLockState, Off
}
else
{
Suspend, Off
SetScrollLockState, On
}
return

You might also like