What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Solved] problems with a status checker script...

[Solved] problems with a status checker script...
Author: Message:
blessedguy
Skinning Contest Winner
*****


Posts: 1762
Reputation: 25
31 / Male / Flag
Joined: Jan 2008
O.P. [Solved] problems with a status checker script...
Ok, this is my first script =X
As first function, I want it to display a toast showing my current status, when I change it.
For example. I'm appearing offline, then I change my status to online, want the script to display a toast saying; "Status: Online"

I've already discovered how to do it... but the problem is the it always shows my PREVIOUS status, not the current one.
This is what happens: I'm appearing offline, if I set my status to online, it shows "Status: Appearing Offline". After it, if i change my status again, this time to away, for example, it will display "Status: Online".

Any tips? =/
i'm using this code:
code:
function OnEvent_MyStatusChange(NewStatus)
{
    if(Messenger.MyStatus == "2")
    {
        var Message = "Status: Appearing Offline";
        MsgPlus.DisplayToast("", Message);
    }
    if(Messenger.MyStatus == "3")
    {
        var Message = "Status: Online";
        MsgPlus.DisplayToast("", Message);
    }
    if(Messenger.MyStatus == "4")
    {
        var Message = "Status: Busy";
        MsgPlus.DisplayToast("", Message);
    }
    if(Messenger.MyStatus == "5")
    {
        var Message = "Status: Be Right Back";
        MsgPlus.DisplayToast("", Message);
    }
    if(Messenger.MyStatus == "6")
    {
        var Message = "Status: Idle";
        MsgPlus.DisplayToast("", Message);
    }
    if(Messenger.MyStatus == "7")
    {
        var Message = "Status: Away";
        MsgPlus.DisplayToast("", Message);
    }
    if(Messenger.MyStatus == "8")
    {
        var Message = "Status: In a Call";
        MsgPlus.DisplayToast("", Message);
    }
    if(Messenger.MyStatus == "9")
    {
        var Message = "Status: Out to Lunch";
        MsgPlus.DisplayToast("", Message);
    }
}
(by the way, if someone wants to know, I'm doing this script to avoid selecting the wrong status. For example, setting status to Online when I want to change it to busy... also to confirm status has changed when using a skin with "Quick status Change" [as i call it]/ "Status Shortcuts" [as guena calls it])

This post was edited on 01-21-2009 at 06:43 PM by blessedguy.
[Image: Empty.png]
01-21-2009 06:17 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Solved] problems with a status checker script... - by blessedguy on 01-21-2009 at 06:17 PM
RE: [Help] problems with a status checker script... - by matty on 01-21-2009 at 06:30 PM
RE: [Help] problems with a status checker script... - by blessedguy on 01-21-2009 at 06:35 PM
RE: [Help] problems with a status checker script... - by matty on 01-21-2009 at 06:37 PM
RE: [Help] problems with a status checker script... - by blessedguy on 01-21-2009 at 06:39 PM
RE: [Solved] problems with a status checker script... - by matty on 01-21-2009 at 07:44 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