quote:
Originally posted by deAd
Commands Class.js is a simpler way to add/remove/manage commands without tons and tons of lines of XML. The full documentation for it is not here yet, and I *think* thats a shortened version.
In this case its a bit pointless because its only one command, but I didn't want to remove my commands class. I like it.
The reason I said it's rather pointless is indeed just because this script only uses 1 command....
Including such a support script is good for those who know how to deal with such things. But it doesn't teach the newbie the proper way of programming such scripts. And such a small script as this would be perfect to teach people how to script.
As for "without tons and tons of lines of XML", that is seriously exaggerated. Even a script with a handfull fixed commands doesn't need many "XML lines". Not to mention, if the commands don't change you can even provide the commands in the scriptinfo.xml IIRC.