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:
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
36 / Male / Flag
Joined: Mar 2007
RE: RE: [Help] Messenger.MyContacts.GetContact
quote:
Originally posted by Red Blood
Alright like first I would make a new hotmail account Ex:Rpg1@hotmail.com (Just example) Then I want to make it so for example when you type /Test that code only works on Rpg1@hotmail.com and then it will have no effect if I try it on another email.

So you don't actually want to send a message to another player, you want it to just be the script works only on your DM account for instance?

If you were to set a variable for the DM then you could just use an if to do it.

code:
var DM = "rpg1@hotmail.com";

function OnEvent_ChatWndSendMessage(ChatWnd,Message)
{
  if ((Message =="/Test") && (Messenger.MyEmailAddress == DM))
  {
        var Message = "Testing";
        MsgPlus.DisplayToast("Alert", Message);
  }
}

Apologies for the bad code.  I'm a little rusty, but you get the gist and hopefully it'll help you out a bit.
[Image: adsig.jpg]
04-16-2009 08:48 PM
Profile E-Mail PM Web 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