What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Skype & Live Messenger » msn looks alpha

msn looks alpha
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: msn looks alpha
quote:
Originally posted by Oxy
Or perhaps, is it script-able?

I think blocking using the script engine produces the same result as the new appearing offline in 2011. It would then be possible to check if "x" is unblocked, block them.

I'm hoping that appearing offline to someone will trigger a status change event. If so, it'll be a lot resource intensive else it'll need a timer, or to trigger on something else. I'll take a look and get back to you on it.

EDIT:

Unfortunately, the contact will probably see you flicker online for a second due to the nature of the ContactUnblocked event. Just click the toast to unblock them permanently, don't click it and they'll just be blocked again

js code:
var safe = new Array()

function OnEvent_ContactUnblocked(email){
    var found = false;
    for(var s in safe){
        if(s == email) found = true;
    }
    if(found == false){
        Messenger.MyContacts.GetContact(email).Blocked = true;
        MsgPlus.DisplayToast("reBLOCK", "Click here to unblock" + email,"","unblock",email);
    }else{
        delete safe[email];
    }   
}

function unblock(e){
    safe[e] = e;
    Messenger.MyContacts.GetContact(e).Blocked = false;
}


This post was edited on 03-24-2011 at 03:45 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
03-24-2011 03:25 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
msn looks alpha - by punto on 03-23-2011 at 11:36 PM
RE: msn looks alpha - by Mike on 03-24-2011 at 12:30 AM
RE: RE: msn looks alpha - by punto on 03-24-2011 at 09:40 AM
RE: msn looks alpha - by Arcticwolfx on 03-24-2011 at 10:09 AM
RE: msn looks alpha - by Oxy on 03-24-2011 at 01:56 PM
RE: msn looks alpha - by Spunky on 03-24-2011 at 03:25 PM
RE: msn looks alpha - by foaly on 03-24-2011 at 04:07 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