What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Uptime script, why doesn't it work?

Uptime script, why doesn't it work?
Author: Message:
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: Uptime script, why doesn't it work?
At first glance I see that you put a string in the function OnTimer when it should be a variable.

code:
function OnEvent_Timer("second")
should be
code:
function OnEvent_Timer(id)

Next you declare the the time variables in initialize which would make them local, declare them as global ones by putting their declartion outside a function

code:
    var s=0,m=0,h=0,d=0;
function OnEvent_Initialize(MessengerStart)
{
    MsgPlus.DisplayToast("P.M. Time", "Displays uptime as personal message.");
....
09-16-2006 10:29 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Uptime script, why doesn't it work? - by CrAzY_KeBaB on 09-16-2006 at 10:07 PM
RE: Uptime script, why doesn't it work? - by Silentdragon on 09-16-2006 at 10:29 PM
RE: Uptime script, why doesn't it work? - by CrAzY_KeBaB on 09-16-2006 at 11:00 PM
RE: Uptime script, why doesn't it work? - by Silentdragon on 09-16-2006 at 11:13 PM
RE: Uptime script, why doesn't it work? - by CookieRevised on 09-17-2006 at 12:18 AM


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