quote:Originally posted by Matty function OnEvent_ChatWndEditKeydown(oChatWnd, nKeyCode, bCtrlKeyDown, bShiftKeyDown) { if (nKeyCode == 0x74 && !bCtrlKeyDown && !bShiftKeyDown){ if (oChatWnd.EditChangeAllowed === true){ if (oChatWnd.EditText.indexOf('/all ') === -1){ oChatWnd.EditText = '/all '+oChatWnd.EditText; } } } }