summaryrefslogtreecommitdiff
path: root/luamods/cmd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'luamods/cmd.lua')
-rw-r--r--luamods/cmd.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/luamods/cmd.lua b/luamods/cmd.lua
index a7676ce..514ec8b 100644
--- a/luamods/cmd.lua
+++ b/luamods/cmd.lua
@@ -62,6 +62,7 @@ The `!cmd` command gives the ability to create their own chat commands.
+ `[name]` - The name for new custom command. It should be unique for your chat.
**A prefix must be specified if you want a prefixed command, e.g. `!sub`, `!server`.**
+You can use `{prefix}` *(dynamic prefix)*, for example `{prefix}sub, {prefix}server`. It will be replaced with the current prefix in the chat.
+ `[message]` - Text that will be sent when the custom command is invoked.
### Delete the custom command