code:function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message) { if(Origin!=Messenger.MyName) { if(Message=="something") { ChatWnd.SendMessage("insult/swear word"); } } }