What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Howto] Get Personalized status

[Howto] Get Personalized status
Author: Message:
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
O.P. [Howto] Get Personalized status
A little function that I wrote, I think this might be usefull for others.

code:
function PersonalizedStatus() {
   var myRegExp = /^(.*)(\xA0\{(.+)\})$/ig;
   return myRegExp.exec(Messenger.MyName);
}

This function will return null when there is no personalized status, else it will return an array with the following elements:

0 --> The whole display name including the personalized status
1 --> The display name without the personalized status
2 --> The personalized status part, including the { } and the special character before it
3 --> The personalized status without the { } around it, so just the text
07-01-2006 12:44 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Howto] Get Personalized status - by J-Thread on 07-01-2006 at 12:44 PM
RE: [Howto] Get Personalized status - by RaceProUK on 07-01-2006 at 01:54 PM
RE: RE: [Howto] Get Personalized status - by segosa on 07-01-2006 at 01:58 PM
RE: [Howto] Get Personalized status - by RaceProUK on 07-01-2006 at 05:15 PM
RE: [Howto] Get Personalized status - by L. Coyote on 07-01-2006 at 05:21 PM
RE: [Howto] Get Personalized status - by mathieumg on 07-02-2006 at 05:39 AM
RE: [Howto] Get Personalized status - by J-Thread on 07-02-2006 at 10:49 AM
RE: [Howto] Get Personalized status - by ulyxes on 07-02-2006 at 11:40 AM
RE: [Howto] Get Personalized status - by RaceProUK on 07-02-2006 at 02:09 PM
RE: RE: [Howto] Get Personalized status - by segosa on 07-02-2006 at 03:52 PM
RE: [Howto] Get Personalized status - by RaceProUK on 07-03-2006 at 06:11 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