The scripting stuff isn't run within Windows Live Messenger, it is run within Messenger Plus! (though it is in the same process thread), as Messenger Plus! uses the Windows scripting engine.
In other words: scripts are run within the scope of Plus!, not within Windows Live Messenger. The events and such are also provided by Plus!, just as the controls, windows, and other stuff...
this picture might not be 100% correct, but it gives the rough idea:
![[Image: attachment.php?pid=743248]](http://shoutbox.menthix.net/attachment.php?pid=743248)