by ZvezdanD » Sat Oct 08, 2011 5:06 pm
Well, strictly speaking, you are right that OnStartup is not regular event since it cannot be registered with the Application object, but it should be mentioned there anyway. How do you expect that scripters learn for that event handler if you don't mention it in wiki?
OnShutdown event should belong there for sure since it could be registered as e.g. OnPlay, for example:
Script.RegisterEvent SDB, "OnShutdown", "ClearIniSection"
[quote="Peke"] it is not regular Event you can hook on like with OnPlay.
I explained this in http://www.ventismedia.com/mantis/view.php?id=8482
NOTE: OnShutdown event also do not belong there. Documentation should be updated/fixed.[/quote]
Well, strictly speaking, you are right that OnStartup is not regular event since it cannot be registered with the Application object, but it should be mentioned there anyway. How do you expect that scripters learn for that event handler if you don't mention it in wiki?
OnShutdown event should belong there for sure since it could be registered as e.g. OnPlay, for example:
Script.RegisterEvent SDB, "OnShutdown", "ClearIniSection"