Felu
Veteran Member
Posts: 2223 Reputation: 72
30 / /
Joined: Apr 2006
Status: Away
|
RE: Autotext + Name!
Yes its possible . Use the code below .
code: function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){ //When a Message is Recieved
if (Origin != Messenger.MyName){ //If the Message is not send by me
if (Message.substr(0,2) == 'Hi'){ //If the first two letters of the message are Hi
ChatWnd.SendMessage('Hi '+Origin); //Send a Message Hi <Who said Hi>
}
}
}
This post was edited on 08-14-2006 at 04:21 AM by Felu.
|
|