quote:
Originally posted by Shondoit
D'oh, what a remark Mentality
code:
var Email = "user@provider.com"
function OnEvent_MyStatusChange (NewStatus) {
Contact = Messenger.MyContacts.GetContact(Email)
Messenger.OpenChat(Contact)
}
Different status codes:
2 - Appear Offline
3 - Online
4 - Busy
5 - Be Right Back
6 - Idle
7 - Away
8 - In a Call
9 - Out to Lunch
this might help for opening
will edit with close
close:
code:
ChatWnd.SendMessage('/close');