Thankyou foaly, that is right. I just tested it, and it will be replaced in your screen, but not your contact's.
Here is the exact code I used
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
if(Origin == Messenger.MyName)
{
if(Message == "Blah Blah")
{
return "Hello!";
}
}
return Message;
}
Have fun with whatever you want to use this to develop, fatfreechicken