What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Request - Spam Script

Request - Spam Script
Author: Message:
Rower
New Member
*

Hello?

Posts: 2
38 / Male / Flag
Joined: Sep 2008
O.P. Request - Spam Script
Hello!
I am spammed by messages on msn and i would want a filter script that closes the window if a new message comes up that is on the filter.

Note: I know that it is possible to not recive messages from persons that's not in my contact list.
09-04-2008 01:28 AM
Profile E-Mail PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Request - Spam Script
simple:
code:
var phrases = new Array( // searches for these strings in the message
"some phrase here",
"spam spam spam spam"
);

function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message){
if(Origin != Messenger.MyName){
for(i in phrases){
if(Message.search(phrases[i]) != -1){
ChatWnd.SendMessage("/close");
}
}
}
}


This post was edited on 09-04-2008 at 02:36 AM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
09-04-2008 02:36 AM
Profile PM Web Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
RE: Request - Spam Script
Does your script support wildcards? '*'
09-04-2008 03:12 AM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: Request - Spam Script
No, but it would be very easy to implement using a RegExp
<Eljay> "Problems encountered: shit blew up" :zippy:
09-04-2008 03:41 AM
Profile PM Find Quote Report
Rower
New Member
*

Hello?

Posts: 2
38 / Male / Flag
Joined: Sep 2008
O.P. RE: Request - Spam Script
roflmao456: Thanx so so much!!! :D:D
09-04-2008 10:14 AM
Profile E-Mail 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