What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Block/unblock in a multiple conversation?

Block/unblock in a multiple conversation?
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Block/unblock in a multiple conversation?
code:
function OnEvent_ChatWndSendMessage(pChatWnd, sMessage){
    if (sMessage == '/mblock'){
        for(var enumerator = new Enumerator(pChatWnd.Contacts) ; !enumerator.atEnd(); enumerator.moveNext()){
            enumerator.item().Blocked = true;
        }
        return '';
    }
    else if (sMessage == '/munblock'){
        for(var enumerator = new Enumerator(pChatWnd.Contacts) ; !enumerator.atEnd(); enumerator.moveNext()){
            enumerator.item().Blocked = false;
        }
        return '';
    }
}

This post was edited on 09-23-2006 at 01:08 AM by matty.
09-23-2006 01:07 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Block/unblock in a multiple conversation? - by Robin4286 on 09-22-2006 at 11:23 PM
RE: Block/unblock in a multiple conversation? - by Spunky on 09-22-2006 at 11:50 PM
RE: Block/unblock in a multiple conversation? - by matty on 09-23-2006 at 01:07 AM
RE: Block/unblock in a multiple conversation? - by CookieRevised on 09-23-2006 at 01:24 AM
RE: Block/unblock in a multiple conversation? - by Spunky on 09-23-2006 at 10:42 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