Almost, there's a typo in it:
code:
function OnEvent_Signin(sUserEmail){
var sEmails = new Array("email@address.com","email2@address.com");
for(item in sEmails){
var oContact = Messenger.MyContacts.GetContact(sEmails[item]);
if(oContact.Status != 1){
var ChatWnd = Messenger.OpenChat(sEmails[item]);
if (ChatWnd.EditChangeAllowed) ChatWnd.SendMessage("hi");
}
}
}