Extentions and Slash Commands
Hello, all!
I'm working on modifying a ruleset but have plans of making it into an Extention instead. In the process, I'm updating the chatmanager.lua to include additional chat slash commands.
So, since I'm updating the onInit() of the Lua file, will this work? If I have my own onInit() in the extention, would this override the original ruleset onInit() and void any of the original slash commands?
If the above prove to be negative, would there be another way of registering the the slash commands?
When does the chatmanager.lua onInit() actually kick off? Is it after the Extentions are brought into the load sequence? If so, would it be possible to, somehow, get the contents of the ruleset's onInit() (I think I read that a Lua function is essentially a table) and then append the new slash commands to it?
Any help is appreciated!