Added rudimentary global var support

Added -l command line parameter, if given, botc will list all available commands and exit.

Added string table and support for string parameters in commands.

Commands w/ arguments are now written correctly.

New rule: a semicolon is now required after events, mainloop, onexit and onenter definitions.

Events and commands are now treated properly case-insensitively.

Added mainloop/onenter/onexit support, fixed state writing.. this thing can compile the script for the `jumping arghbot` now!

Moved command parser to a new function.

If any optional parameters are skipped, default values are now filled in.

Parser now can read optional arguments properly.

MustString now behaves more like its siblings - sets token to result rather than returning it

Removed extdelimeters member, said delimeters are always enabled now.

Restructured the command def parser, added parameter lists to definition file.

Added proper string checking

Commands are now read properly.

(0) -15 +15 +100 tip

mercurial