quote:
Originally posted by -!Felu!-
Yes its possible . Use the code below .
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){
if (Origin != Messenger.MyEmail){
if (Message.substr(0,2) == 'Hi'){
ChatWnd.SendMessage('Hi '+Origin);
}
}
}
Origin is the name, not the email.
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){
if (Origin != Messenger.MyName){
if (Message.substr(0,2) == 'Hi'){
ChatWnd.SendMessage('Hi '+Origin);
}
}
}