quote:
Originally posted by Jay_Jay
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');
quote:
Originally posted by CookieRevised in [url=http://shoutbox.menthix.net/showthread.php?tid=65322
Script Request - Ignore specific contacts[/url]] code:ChatWnd.SendMessage("/close")
Use the sendmessage api to close the window. This is better because you don't need to send a message to the conversation in that way (for various reasons you wont always be able to send a message to the conversation).
If you can, try using the API instead (though /close will work for now until you are a more advanced scripter).