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
|