code:function OnEvent_ChatWndSendMessage(ChatWnd, sMessage) { if(sMessage == "hye"); { return "hey"; } }