quote:
Originally posted by phalanxii
Mattike has got the right idea, but if I'm not mistaken, shouldn't it be: code:
...
Woops! You're right.
quote:
Originally posted by phalanxii
I don't think my code is wrong either ... although your code works just as well.
But what you forget is:
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!
So, the only way it should work is by using both
!MessengerStart and
Messenger.MyStatus > 0.
quote:
Originally posted by phalanxii
I would also use OnEvent_Signin instead of OnEvent_SigninReady because it is called a lot earlier. Though OnEvent_Signin is called when not all information is available, for SpunkyLoveMuff's purpose of writing settings into the registry, contact information is not required (if it is, then use OnEvent_SigninReady ).
You can, it just depends on how urgent the keys should be imported.