This is what i've come with so far with breaking down the code
code:
function OnEvent_ChatWndReceiveMessage(objChatWnd, strUser, strMessage, numMessageType)
{
if(strMessage == "Hi") {
if(strUser != Messenger.MyName){
objChatWnd.SendMessage("Hi [auto reply]");
}
}
}
It only replys to messages from your other contacts
can someone correct me if i'm wrong not really an expert lol!