Events for CH startup and CH shutdown
LadyCailin opened this issue ยท 3 comments
Comment by Tom.Gebbett on 2013-04-15 19:36:54 UTC
onEnable is the same as putting code in main.ms
an event for runtime unloading would be handy... when either commandhelper is disabled or is reloading scripts. You can work around this by adding code into certain command binds, but that is less neat.
Comment by jb_aero on 2013-04-16 00:58:42 UTC
Well, unless CH disables itself on /reloadaliases, onEnable should only run once.