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

[Help] Messenger.MyContacts.GetContact
Author: Message:
Red Blood
New Member
*


Posts: 3
Joined: Apr 2009
O.P. [Help] Messenger.MyContacts.GetContact
Hello, I'm new to this forum. I started scripting not to long ago and at the moment I'm at a stump. What I'm trying to do is when the user types something (EX:/Test) The user recieves a message BUT ONLY THAT USER.

my code is:

code:
function OnEvent_ChatWndSendMessage(ChatWnd,Message){
    if(Message =="/Test"&&Messenger.MyContacts.GetContact("emails@hotmail.com")){
        var Message = "Testing";
        ChatWnd.SendMessage(Message);
        return '';
}
}

In my code the email address is different (Obviously) but anyways I can type /Test and it sends the messages but I can use the code on everyone not just that email. Help is appreciated.

04-15-2009 08:45 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help] Messenger.MyContacts.GetContact - by Red Blood on 04-15-2009 at 08:45 PM
RE: [Help] Messenger.MyContacts.GetContact - by ryxdp on 04-15-2009 at 10:14 PM
RE: [Help] Messenger.MyContacts.GetContact - by Red Blood on 04-16-2009 at 01:06 AM
RE: [Help] Messenger.MyContacts.GetContact - by davidpolitis on 04-16-2009 at 02:27 PM
RE: [Help] Messenger.MyContacts.GetContact - by Red Blood on 04-16-2009 at 06:20 PM
RE: RE: [Help] Messenger.MyContacts.GetContact - by ArkaneArkade on 04-16-2009 at 08:48 PM
RE: RE: RE: [Help] Messenger.MyContacts.GetContact - by davidpolitis on 04-17-2009 at 12:24 AM


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