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

Script Help!
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Script Help!
JScript code:
function OnEvent_ChatWndReceiveMessage (oChatWnd, sOrigin, sMessage, nMessageKind) {
    for (var oContact = new Enumerator(oChatWnd.Contacts); !oContact.atEnd(); oContact.moveNext()) {
        if (oContact.item().Email === 'johndoe@hotmail.com' && sMessage.toLowerCase() === 'you are dumb') {
            sMessage = '';
        }
    }
}

12-11-2008 06:17 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Script Help! - by leetking on 12-11-2008 at 04:53 PM
RE: Script Help! - by matty on 12-11-2008 at 05:56 PM
RE: RE: Script Help! - by leetking on 12-11-2008 at 06:04 PM
RE: Script Help! - by matty on 12-11-2008 at 06:17 PM
RE: Script Help! - by leetking on 12-11-2008 at 06:36 PM
RE: Script Help! - by roflmao456 on 12-11-2008 at 09:20 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