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

RegWrite Causing Errors?
Author: Message:
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
RE: RE: RE: RegWrite Causing Errors?
quote:
Originally posted by Mattike
4. You have imported the script while you are signed out:
   OnEvent_Initialize is called.
   MessengerStart is false, so !MessengerStart is true.
   The if statement in OnEvent_Initialize is executed.
   OnEvent_Signin is called.
   Messenger.MyEmail is undefined (you are signed out).
     TUUT! Error!
quote:
Originally posted by CookieRevised
Open Messenger, before signing in, restart the script. You'll see that with your method (if(!MessengerStart)) your script will end in an error, while mine (if(Messenger.MyStatus > 0)) doesn't.

Yes, true, that theoretically the script is different if !MessengerStart is used, but practically, there is no difference. Why? Because you can only import/restart/enable a script when a) WLM is open and b) you are signed in. Therefore, Cookie's scenarios 2 and 5 (and Mattike's scenario 4) don't exist and there is no error.

Try it for yourself: open WLM (don't sign in) and try to import a script. For me, Messenger Plus! Live sends an error box saying:
code:
---------------------------
Messenger Plus! Live
---------------------------
You must be signed in before you can import new scripts.
---------------------------
OK   
---------------------------
As for enabling when you are signed out: open WLM (don't sign in) and try to access the MPL preferences. For me, I get this error:
code:
---------------------------
Messenger Plus! Live
---------------------------
You must be signed-in to get access to your preferences.
---------------------------
OK   
---------------------------
Please tell me if I'm wrong about this, because I'm one of those many people who use that method in their scripts. :$
09-15-2006 10:25 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
RegWrite Causing Errors? - by Spunky on 09-14-2006 at 04:28 PM
RE: RegWrite Causing Errors? - by Matti on 09-14-2006 at 04:39 PM
RE: RegWrite Causing Errors? - by R4000 on 09-14-2006 at 05:04 PM
RE: RegWrite Causing Errors? - by Spunky on 09-14-2006 at 05:12 PM
RE: RegWrite Causing Errors? - by phalanxii on 09-15-2006 at 12:02 AM
RE: RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:16 AM
RE: RegWrite Causing Errors? - by phalanxii on 09-15-2006 at 01:14 PM
RE: RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:03 PM
RE: RegWrite Causing Errors? - by Matti on 09-15-2006 at 01:17 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:18 PM
RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:20 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:22 PM
RE: RE: RE: RegWrite Causing Errors? - by phalanxii on 09-15-2006 at 10:25 PM
RE: RE: RE: RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:29 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:28 PM
RE: RegWrite Causing Errors? - by phalanxii on 09-15-2006 at 10:33 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:34 PM
RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:37 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:40 PM
RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:43 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:52 PM
RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:57 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