Shoutbox

[request] emergency! block all script? - 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: [request] emergency! block all script? (/showthread.php?tid=86695)

[request] emergency! block all script? by gusdim on 10-17-2008 at 01:54 AM

hi guys. I want a script that will have an option to block all contacts on msn so i will have to unblock whoever i dont want to see me online. im tired of keep appearing offline. I think it is very easy. Thanks in advance :)


RE: [request] emergency! block all script? by matty on 10-17-2008 at 03:22 AM

code:
for ( var oContact = new Enumerator ( Messenger.MyContacts ); !oContact.atEnd(); oContact.moveNext() ) {
    oContact.item().Block = true;
}

This code will block everyone on your list (it is not irreversable) it does not take into account their current blocked status. It just blocks EVERYONE.
RE: [request] emergency! block all script? by gusdim on 10-19-2008 at 08:57 PM

hmm.. trying to set it but it doesn't seem to work. can you set it up for me please? thanks in advance mate :)