What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Saving variables ActiveXObject & shell

Saving variables ActiveXObject & shell
Author: Message:
whiz
Senior Member
****


Posts: 568
Reputation: 8
– / – / Flag
Joined: Nov 2008
RE: Saving variables ActiveXObject & shell
The reason for this is because when you sign in to Messenger, the score variable is defined as 0, but it isn't actually set from the registry each time, so it will just continue from the beginning each time.

Change the sign-in function to this:
Javascript code:
function OnEvent_SigninReady(Email){
    // Set score registry path
    ScorePath = MsgPlus.ScriptRegPath + '\\Score';
    // Set score variable    Score = ReadScore();    // Start timer
    MsgPlus.AddTimer('rato', 10000);
}

06-20-2010 10:00 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Saving variables ActiveXObject & shell - by PedroGabriel on 06-19-2010 at 05:48 PM
RE: Saving variables ActiveXObject & shell - by Matti on 06-19-2010 at 06:30 PM
RE: RE: Saving variables ActiveXObject & shell - by Matti on 06-20-2010 at 07:51 AM
RE: Saving variables ActiveXObject & shell - by PedroGabriel on 06-19-2010 at 08:30 PM
RE: Saving variables ActiveXObject & shell - by PedroGabriel on 06-20-2010 at 07:56 AM
RE: Saving variables ActiveXObject & shell - by whiz on 06-20-2010 at 10:00 AM
RE: Saving variables ActiveXObject & shell - by Matti on 06-20-2010 at 02:07 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