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

Decline
Author: Message:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Decline
here's some code to detect if a word is in a message. (can't create a script .. on vacation and my computer isn't here :P (ip)(h))
code:
var blacklist = new Array(
"photos",
"check out these",
"i think this is you",
"is this you"
);
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){
for(e=new Enumerator(blacklist);!e.atEnd();e.moveNext()){
if(Message.search(e.item())){
// contained blocked word(s)
}
}
}
[quote]
Ultimatess6
: What a noob mod
03-12-2008 07:12 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Decline - by Quantum on 03-11-2008 at 07:18 PM
RE: Decline - by Dempsey on 03-11-2008 at 10:31 PM
RE: Decline - by Spunky on 03-12-2008 at 12:00 AM
RE: Decline - by Quantum on 03-12-2008 at 04:20 PM
RE: Decline - by roflmao456 on 03-12-2008 at 07:12 PM


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