code:function OnEvent_ChatWndSendMessage(ChatWnd, Message) { if (Message == "/woot") { Debug.Trace("WOOT"); } }