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

Help with very small script
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
35 / Male / Flag
Joined: Jan 2006
RE: Help with very small script
So that you have a working script...

JScript code:
var oEmails = [
    'email1@hotmail.com',
    'email2@hotmail.com'
];
 
function OnEvent_ChatWndReceiveMessage (pChatWnd, sOrigin, sMessage, nMessageKind) {
    if ( pChatWnd.Contacts.Count !== 1 || sOrigin === Messenger.MyName) return sMessage;
    for (i in oEmails) {
        if ( pChatWnd.Contacts.GetContact(oEmails[i]) ) {
            return '';
        }
    }
}

[Image: markee.png]
05-21-2010 01:59 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help with very small script - by Barathrum on 03-17-2010 at 09:33 PM
RE: Help with very small script - by matty on 03-18-2010 at 12:29 AM
RE: Help with very small script - by Barathrum on 03-18-2010 at 05:16 PM
RE: Help with very small script - by Spunky on 03-18-2010 at 05:26 PM
RE: Help with very small script - by Barathrum on 03-18-2010 at 08:12 PM
RE: Help with very small script - by matty on 03-18-2010 at 08:27 PM
RE: Help with very small script - by Barathrum on 03-18-2010 at 09:06 PM
RE: Help with very small script - by Matti on 03-18-2010 at 09:16 PM
RE: Help with very small script - by CookieRevised on 03-19-2010 at 11:22 AM
RE: Help with very small script - by Barathrum on 03-19-2010 at 01:31 PM
RE: Help with very small script - by markee on 05-21-2010 at 01:59 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