What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] DP by status

[Request] DP by status
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [Request] DP by status
js code:
/* status2dp
written by matty 2009 */

/* instructions:
put the name of the picture you want to correspond for each status
put the picture itself in the scripts folder
*/
var oStatus = {
            STATUS_INVISIBLE : 'offline.png',
            STATUS_ONLINE : 'online.png',
            STATUS_BUSY : 'busy.png',
            STATUS_BRB : 'away.png',
            STATUS_IDLE : 'away.png',
            STATUS_AWAY : 'away.png',
            STATUS_INCALL : 'busy.png',
            STATUS_OUTLUNCH : 'away.png'
        };

function OnEvent_Initialize ( ) {
    if ( Messenger.MyStatus < STATUS_INVISIBLE ) return false;
    OnEvent_MyStatusChanged ( Messenger.MyStatus );
}

function OnEvent_SigninReady ( ) {
    OnEvent_MyStatusChanged ( Messenger.MyStatus );
}

function OnEvent_MyStatusChanged ( nNewStatus ) {
    Messenger.MyDisplayPicture = MsgPlus.ScriptFilesPath+'\\'+oStatus [ nNewStatus ];
}

This post was edited on 07-09-2009 at 05:22 PM by matty.
07-09-2009 04:08 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] DP by status - by CO_ol on 07-07-2009 at 09:55 PM
RE: [Request] DP by status - by warmth on 07-07-2009 at 10:06 PM
RE: [Request] DP by status - by CO_ol on 07-07-2009 at 10:45 PM
RE: RE: [Request] DP by status - by ryxdp on 07-08-2009 at 08:41 AM
RE: [Request] DP by status - by CO_ol on 07-08-2009 at 09:50 AM
RE: [Request] DP by status - by roflmao456 on 07-09-2009 at 05:01 AM
RE: [Request] DP by status - by CO_ol on 07-09-2009 at 02:48 PM
RE: [Request] DP by status - by matty on 07-09-2009 at 04:08 PM
RE: [Request] DP by status - by CO_ol on 07-09-2009 at 05:15 PM
RE: [Request] DP by status - by matty on 07-09-2009 at 05:23 PM
RE: [Request] DP by status - by CO_ol on 07-09-2009 at 05:42 PM
RE: [Request] DP by status - by roflmao456 on 07-09-2009 at 06:08 PM
RE: [Request] DP by status - by CO_ol on 07-09-2009 at 06:20 PM
RE: [Request] DP by status - by matty on 07-09-2009 at 06:54 PM
RE: [Request] DP by status - by roflmao456 on 07-09-2009 at 07:36 PM
RE: [Request] DP by status - by CO_ol on 07-09-2009 at 07:50 PM
RE: [Request] DP by status - by matty on 07-09-2009 at 08:00 PM
RE: [Request] DP by status - by CO_ol on 07-09-2009 at 08:29 PM
RE: [Request] DP by status - by CO_ol on 07-11-2009 at 10:20 AM
RE: [Request] DP by status - by CO_ol on 07-14-2009 at 02:30 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