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:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / 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
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Request - Spam Script - by Rower on 09-04-2008 at 01:28 AM
RE: Request - Spam Script - by roflmao456 on 09-04-2008 at 02:36 AM
RE: Request - Spam Script - by prashker on 09-04-2008 at 03:12 AM
RE: Request - Spam Script - by Spunky on 09-04-2008 at 03:41 AM
RE: Request - Spam Script - by Rower on 09-04-2008 at 10:14 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