Hi,
I want to create a script which allow:
1) When someone new speak to me and his/her Window is closed open one.
2) The first sending message will be said by a Ms Agent.
Per Example: Higter signs in and speaks to me "Hi" Ms Agent said "Hi" but not "How Are You ??" Blablabla.
Like this I Heard him and speak with him.
Because i've mananged to do A script that tell everytime message from my friend.
code:
function OnEvent_ChatWndCreated (Chatwndtest){
OnEvent_ChatWndReceiveMessage(ChatWndtest,Origin,Message,MessageKind);
if (Origin != Messenger.Myname)
{
if (MessageKind = 1)
{
merlin.Show(); // Shows Merlin
sayMessage = Origin + " says: " + Message;
saythat = MsgPlus.RemoveFormatCodes(saymessage);
merlin.Speak (saythat); // Makes Merlin say the string, "saythat"
}
}
}
Ty for your help