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

MyStatusChange
Author: Message:
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: MyStatusChange
Err what are you doing?

OnEvent_MyStatusChange(
    [enum] NewStatus
);
No email parameter :S.

code:
function OnEvent_MyStatusChange(NewStatus){
    if(Messenger.MyEmail == "andvibeto@msn.com"){
        MsgPlus.DisplayToast("", "Your status have been changed to " + NewStatus + "!");
    }
}

Or even better

code:
function OnEvent_MyStatusChange(NewStatus){
    if(Messenger.MyEmail == "andvibeto@msn.com"){
        MsgPlus.DisplayToast("", "Your status have been changed to " + Array('', '', 'Appear Offline', 'Online', 'Busy', 'Be Right Back', 'Idle', 'Away', 'In a Call', 'Out to Lunch')[NewStatus] + "!");
    }
}

Note: I haven't tested the code but they should work. Tested now and it works. Improved the code a bit aswell

This post was edited on 11-03-2007 at 04:10 PM by Felu.
11-03-2007 02:44 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
MyStatusChange - by Addenorw on 11-03-2007 at 02:30 PM
RE: MyStatusChange - by Mnjul on 11-03-2007 at 02:38 PM
RE: MyStatusChange - by Felu on 11-03-2007 at 02:44 PM
RE: MyStatusChange - by Spunky on 11-03-2007 at 02:45 PM
RE: MyStatusChange - by Matti on 11-03-2007 at 03:25 PM
RE: MyStatusChange - by Felu on 11-03-2007 at 03:58 PM
RE: MyStatusChange - by Addenorw on 11-03-2007 at 06:27 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