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:
dudetampa
New Member
*


Posts: 2
Joined: May 2012
O.P. Huh?  Ignore Script.. anyone please?
Hi guys, i was looking foward a MsgPlus script that will ignore an specific e-mail. For example, i don't want to block the e-mail, i want to the person still be able to see me online, but when this person talk to me, the windows automatically closes or doesn't even show up. Anyone can make this?
I searched but i couldn't find one like this.
Thanks for the attention.
05-27-2012 02:04 AM
Profile E-Mail PM Find Quote Report
whiz
Senior Member
****


Posts: 568
Reputation: 8
– / – / Flag
Joined: Nov 2008
RE: Ignore Script.. anyone please?
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.
05-27-2012 08:32 AM
Profile E-Mail PM Find Quote Report
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
dudetampa
New Member
*


Posts: 2
Joined: May 2012
O.P. RE: Ignore Script.. anyone please?
So there's no way i could do this by e-mail? :(
05-28-2012 02:40 AM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Ignore Script.. anyone please?
The actual premise is the flaw. Just closing or hiding the window is not going to stop the new message notification sounds or toast messages. You won't actually be able to ignore the contact
<Eljay> "Problems encountered: shit blew up" :zippy:
05-28-2012 06:30 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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