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

Need scripting help
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Need scripting help
For starters:

on, off and default are strings.
And thus there should be quotes around those strings.

You did it twice good in if (TimeId == "on" ) and if (TimeId == "off" ). But all the other occurances of those strings lack the quotes (and thus are threated as undefined variables)....



Another thing you might want to consider: Timers do not stop running after you've signed out!

This means that if you are signed out for some reason, the timers will still keep on running (until they fire). At which time you might not be signed in once again and thus an error will occur when the timer event tries to set your display picture. Similar stuff will happen when you sign out and someone else  (or you with another identity) signs in after that; the timers might still be running and the other person's display picture will be set instead....

To solve this _extremely common_ mistake, simply cancel all the used timers in a OnEvent_SignOut event.

;)

This post was edited on 01-24-2011 at 01:25 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-24-2011 01:19 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Need scripting help - by Juffle on 01-23-2011 at 09:30 PM
RE: Need scripting help - by CookieRevised on 01-24-2011 at 01:19 AM
RE: Need scripting help - by Juffle on 01-24-2011 at 01:33 AM
RE: Need scripting help - by CookieRevised on 01-24-2011 at 01:44 AM
RE: Need scripting help - by Spunky on 01-24-2011 at 12:31 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