Shoutbox

Group Chat Blocker - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Group Chat Blocker (/showthread.php?tid=91887)

Group Chat Blocker by sdollins on 08-16-2009 at 09:59 AM

Hi,

I've had tons of issues with people dragging me into group chats. I was using the script that asks if you accept or decline, but I want something that will just automatically leave and not bother me. It's very annoying. I believe this should be possible but I have no idea how to go about doing it. If anyone like to create this script, it would be very much appreciated. Oh, a on/off command would be good, too.


Thank you,
Scott

Edit: I ended up just doing it myself.

http://scottsblog.us.to/storage/2009/08/GroupChatBlocker.plsc


RE: Group Chat Blocker by matty on 08-17-2009 at 01:26 PM

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
    }
}


RE: Group Chat Blocker by Spunky on 08-17-2009 at 09:48 PM

quote:
Originally posted by matty
pChatWnd.SendMessage('.pif'); // kick the participants on your end

Does that still actually work?
RE: Group Chat Blocker by vaccination on 08-17-2009 at 10:19 PM

quote:
Originally posted by Spunky
quote:
Originally posted by matty
pChatWnd.SendMessage('.pif'); // kick the participants on your end

Does that still actually work?
dunno, but send a 110mb link and you'll be kicked