What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » /invite not initiating OnEvent_ChatWndContactAdded?

/invite not initiating OnEvent_ChatWndContactAdded?
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: RE: /invite not initiating OnEvent_ChatWndContactAdded?
quote:
Originally posted by Jay_Jay
quote:
Originally posted by Shondoit
D'oh, what a remark Mentality :S

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).
[Image: markee.png]
09-13-2006 01:18 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
/invite not initiating OnEvent_ChatWndContactAdded? - by Robin4286 on 09-12-2006 at 11:24 PM
RE: /invite not initiating OnEvent_ChatWndContactAdded? - by deAd on 09-13-2006 at 12:02 AM
RE: /invite not initiating OnEvent_ChatWndContactAdded? - by Robin4286 on 09-13-2006 at 12:10 AM
RE: /invite not initiating OnEvent_ChatWndContactAdded? - by NanaFreak on 09-13-2006 at 12:13 AM
RE: /invite not initiating OnEvent_ChatWndContactAdded? - by deAd on 09-13-2006 at 12:15 AM
RE: /invite not initiating OnEvent_ChatWndContactAdded? - by Robin4286 on 09-13-2006 at 12:28 AM
RE: /invite not initiating OnEvent_ChatWndContactAdded? - by NanaFreak on 09-13-2006 at 12:31 AM
RE: RE: /invite not initiating OnEvent_ChatWndContactAdded? - by markee on 09-13-2006 at 01:18 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On