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:
leetking
New Member
*


Posts: 10
– / Female / Flag
Joined: Dec 2008
O.P. RE: Script Help!
I got now this:

JScript code:
function OnEvent_ChatWndReceiveMessage(oChatWnd, sOrigin, sMessage, nMessageKind) {
    for (var oContact = new Enumerator(oChatWnd.Contacts); !oContact.atEnd(); oContact.moveNext()) {
        if (oContact.item().Email === 'contact_email@hotmail.com') {
        if(sMessage=="!test"){
        oChatWnd.SendMessage("it works");}
        }
    }
}


It works fine, but, it also works for me now. How can I change it so it will only work for my contact?
12-11-2008 06:36 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