What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Ignore Script.. anyone please?

Ignore Script.. anyone please?
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Ignore Script.. anyone please?
quote:
Originally posted by whiz
Javascript code:
function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nMessageKind)
{
    if (sOrigin === "<name of person to block>")
    {
        pChatWnd.SendMessage("/close");
    }
}

This will close the conversation window when the blocked person sends you a message.  Note that you have to block by name, not by email, so anyone with the same full name will also be blocked.

Could iterate the contacts in the chat window and do it by email that way. Names are (were) likely to change often making it unreliable. I could see this being more annoying though as every message will play the new message sound. A better option may be to just use the API to hide the window...
<Eljay> "Problems encountered: shit blew up" :zippy:
05-27-2012 09:02 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Ignore Script.. anyone please? - by dudetampa on 05-27-2012 at 02:04 AM
RE: Ignore Script.. anyone please? - by whiz on 05-27-2012 at 08:32 AM
RE: Ignore Script.. anyone please? - by Spunky on 05-27-2012 at 09:02 AM
RE: Ignore Script.. anyone please? - by dudetampa on 05-28-2012 at 02:40 AM
RE: Ignore Script.. anyone please? - by Spunky on 05-28-2012 at 06:30 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