diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-05 00:31:28 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-05 00:31:28 +0500 |
| commit | a2052f0362d66493d05aec9cbdd151bfc1011a5f (patch) | |
| tree | 4ebe89473dbb27c81c2d5113d5997b02ab585b03 /luamods | |
| parent | 08edfbc1fd81d86f492f2f9438a136c139f932ca (diff) | |
feat: dynamic prefixes in custom commands
Diffstat (limited to 'luamods')
| -rw-r--r-- | luamods/cmd.lua | 1 |
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 |
