code:
function OnEvent_Signin(Email) {
Debug.Trace("Contacts in the user's contact list:");
var Contacts = Messenger.MyContacts;
var e = new Enumerator(Contacts);
for(; !e.atEnd(); e.moveNext())
{
var Contact = e.item();
if (Contact.Status != 1) {
var ChatWnd = Messenger.OpenChat(Contact);
if (ChatWnd.EditChangeAllowed) ChatWnd.SendMessage("Hello" + Contact::Name + "!");
}
}
}
What that does is, when you open a conversation with some one it automaticcaly sends hello + contact name