so everyone would this work:
code:
function OnEvent_Signin(sUserEmail){
var sEmails = new Array("bla@bla2.com","bla@bla3.com");
for(item in sEmails){
var oContact = Messenger.MyContacts.GetContact(sEmails[item]);
if(oContact.Status != 1){
var ChatWnd = Messenger.OpenChat(sEmails[item]);
ChatWnd.SendMessage("hi");
}
}
}