Warrior of... Lua?
WoLua is a plugin that allows users (like you!) to write custom, context-aware chat commands in lua. These commands can read information from the game through WoLua's API, and are able to do things like printing messages to your local chatlog, send chat (commands and plain text) to the server, and more.
Type /xlplugins
in-game to access the plugin installer and updater. Note that you will need to add my custom plugin repository (full instructions included at that link) in order to find this plugin.
- Type
/wolua
to pull up a GUI with basic instructions and the configuration options. - Type
/wolua reload
to rescan all command scripts while playing, in case you add, edit, or remove anything. - Type
/wolua list
to list all loaded command scripts. - Type
/wolua call <script> [<optional arguments...>]
to actually run a command script. Any additional text will be passed to the script for its own use.
Since WoLua exposes a significant amount of game information (not to mention the interface for doing things) to scripts, the documentation is too extensive for the basic readme page. You can find details on the dedicated API docs instead.