Shoutbox

Blocking SweetIM requests - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Skype & Live Messenger (/forumdisplay.php?fid=10)
+----- Thread: Blocking SweetIM requests (/showthread.php?tid=62098)

Blocking SweetIM requests by stephen_wq on 06-30-2006 at 07:14 AM

I have contacts with SweetIM installed. I dont want this, i dont need this, and i hate the annoying requests that come up when they use it.

quote:
news:Your.buddy.sent.you.a.new.Nudge,.get.it.with.the.new.SweetIM.at http://www.sweetim.com/s.asp?ref=1&ses=21502052&r...50002)(Gun)\@TCEN
I will do anything, to block these requests, as it annoys the hell out of me.
Ive tried word filtering, its too long, and it would take ages to add each of them.
RE: Blocking SweetIM requests by FineWolf on 06-30-2006 at 07:30 PM

Create a script, put that in it:

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
    var found = Message.search(/sweetim/i);
    if(found != -1)
        {
        return "* Message Filtered";
        }
    else
        return Message;
}


and if you want to be fancy and tell them to stop sending that crap:

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
    var found = Message.search(/sweetim/i);
    if(found != -1 && Origin != Messenger.MyName)
    {
        ChatWnd.SendMessage("I am not interested in your SweetIM crap, please stop sending it to me!");
        return "* Message Filtered";
    }
    else
        return Message;
}