What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Signoutc contact

Signoutc contact
Author: Message:
magemello
New Member
*


Posts: 9
Joined: Jan 2008
O.P. Signoutc contact
hello how can i konw if anyone of contacts leave the chatwnd?when we are talking with some people in only one window?there are some event or function?
02-06-2008 03:09 PM
Profile E-Mail PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: Signoutc contact
Yes, there is such event. It's called OnEvent_ChatWndContactRemoved, and it gives you a ChatWnd and the e-mail address of the contact who left as parameters.

Example:
code:
function OnEvent_ChatWndContactRemoved(ChatWnd, Email) {
   Debug.Trace(Email+" has left the chat with handle "+ChatWnd.Handle);
}
You can use the Email to check which contact left and do some things with the chat window or something... That's up to you. :)

This post was edited on 02-06-2008 at 04:30 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
02-06-2008 04:29 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


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