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

Contact PSM change
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Contact PSM change
Why do you need to collect all Contact objects first, when you can do:
code:
function OnEvent_ContactSignin(Email) {
      var Contact = Messenger.MyContacts.GetContact(Email);
      if(Contact.Status == STATUS_ONLINE /* Assume you have MsgPlus 4.23 or higher? */ ) {
            [do what you want to here]
      }
}
Try not to make things more complicated than necessary. Plus! Live scripting is already hard enough! :P
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
10-28-2008 06:35 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Contact PSM change - by ArkaneArkade on 10-28-2008 at 06:28 AM
RE: Contact PSM change - by SmokingCookie on 10-28-2008 at 03:32 PM
RE: Contact PSM change - by ArkaneArkade on 10-28-2008 at 06:29 PM
RE: Contact PSM change - by Matti on 10-28-2008 at 06:35 PM
RE: Contact PSM change - by SmokingCookie on 10-28-2008 at 06:37 PM
RE: Contact PSM change - by matty on 10-28-2008 at 06:42 PM
RE: Contact PSM change - by ArkaneArkade on 10-28-2008 at 10:32 PM
RE: Contact PSM change - by Spunky on 10-29-2008 at 04:46 PM
RE: RE: Contact PSM change - by ArkaneArkade on 10-29-2008 at 07:01 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