Shoutbox

Help with this script please - 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: Help with this script please (/showthread.php?tid=99317)

Help with this script please by albertrc on 05-21-2012 at 08:38 PM

I just need help for this script:

quote:
function OnEvent_Initialize(MessengerStart)
{
var Contacts = Messenger.MyContacts;
var e = new Enumerator(Contacts);
for(; !e.atEnd(); e.moveNext())
{
    var Contact = e.item();
    if(Contact.blocked == true)
    Debug.Trace(" " + Contact.Email);
}
    }

For now, the script display in the debug window, the email of everyone in my contact list who was blocked.

I want to delete this blocked contacts too... but i dont find the function, any idea'??
RE: Help with this script please by matty on 05-22-2012 at 02:44 AM

You cannot delete a contact through the plugin API.