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

Group Chat Blocker
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Group Chat Blocker
I would recommend using this:

Javascript code:
function OnEvent_ChatWndCreated( pChatWnd ) {
    if ( pChatWnd.Contacts.Count !== 1 ) {
        pChatWnd.SendMessage('Sorry, I do not participate in group conversations. Goodbye.'); // send  good bye message
        pChatWnd.SendMessage('.pif'); // kick the participants on your end
        Interop.Call( 'user32', 'SendMessageW', pChatWnd.Handle, 0x10 /* WM_CLOSE */, 0, 0 ); // close the window
    }
}

08-17-2009 01:26 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Group Chat Blocker - by sdollins on 08-16-2009 at 09:59 AM
RE: Group Chat Blocker - by matty on 08-17-2009 at 01:26 PM
RE: Group Chat Blocker - by Spunky on 08-17-2009 at 09:48 PM
RE: Group Chat Blocker - by vaccination on 08-17-2009 at 10:19 PM


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