commands plugin
the plugin reads the commands from data/commands.txt by default.
Format in the Textfile:
command=answer to "!command"
command_=answer to "!command some more text"
command2=:answer to "!command2" not using /me but msg
Variable | Substituted by |
USER | the user, who invoced the command |
OTHER | the text after !command |
Settings
Setting-Name | function |
commands.file | the textfile with the commands |
commands.fileencodingĀ | the encoding of the fileĀ |
commands.autoReload | auto-reload the file on change (compares the timestamp of the file on every command with the last known timestamp of the file) |
Versions
Version | Comment |
0.9.* | no autoreload |
1.0 | |