The last thread on this got derailed, so I am going to try again..
Any reason why you can't provide the following to plugins?
OnWorldGotFocus
OnWorldLostFocus
OnMXPStartup
OnMXPShutdown
OnMXPOpeningTag
OnMXPClosingTag
OnMXPSetVariable
OnMXPError
As I 'tried' to point out, before everyone side tracked the thread into a discussion over editing them, it makes no sense to have to use the main script file for MXP addons that may need to be configured in some cases for a specific world. Not that it wouldn't be nice to also have an "OnMXPRecieved' callback, which would let you process the original tag contents, even if the contents would normally generated an error, as the result of it not being recognized. It just doesn't make sense to me that sound, images, etc., must be handled through the callbacks in the main script, but not in a plugin, where imho something that world specific *should* be dealt with.
Any reason why you can't provide the following to plugins?
OnWorldGotFocus
OnWorldLostFocus
OnMXPStartup
OnMXPShutdown
OnMXPOpeningTag
OnMXPClosingTag
OnMXPSetVariable
OnMXPError
As I 'tried' to point out, before everyone side tracked the thread into a discussion over editing them, it makes no sense to have to use the main script file for MXP addons that may need to be configured in some cases for a specific world. Not that it wouldn't be nice to also have an "OnMXPRecieved' callback, which would let you process the original tag contents, even if the contents would normally generated an error, as the result of it not being recognized. It just doesn't make sense to me that sound, images, etc., must be handled through the callbacks in the main script, but not in a plugin, where imho something that world specific *should* be dealt with.