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:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: RegWrite Causing Errors?
quote:
Originally posted by phalanxii
Ah yeah, sorry about that. I forgot about the status being 0 when you're not signed (so the code isn't executed). What I actually meant was:
code:
function OnEvent_Initialize(MessengerStart) {
   if(!MessengerStart) {
       OnEvent_SigninReady(Messenger.MyEmail); //Call the event like a normal function
   }
}
function OnEvent_SigninReady(Email) {
   //Original code for OnEvent_Initialize goes here
}
Cookie's code works exactly the same, so it doesn't really matter. :)
no it isn't the same and doesn't work the same....

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.

quote:
Originally posted by Mattike
(...)
So, the only way it should work is by using both !MessengerStart and Messenger.MyStatus > 0. ;)
!MessengerStart isn't needed at all... see my previous post which explains all the possible events in a pseudo boolean algebra truth table. Look at the sequence of events and look at the states of things, you'll see that to have a defined email, the only thing to check is the status being >0.

many script make this error (in fact I think I have made some scripts myself with that very same error... :/... me goes to check)...

This post was edited on 09-15-2006 at 10:12 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
09-15-2006 10:03 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