Table of Contents

!cmd

← Go back

Delay 1 second
Subcommands create, new, add, delete, remove, rename, edit, alias, delalias, view, list, global
Aliases scmd
Minimal rights Moderator

The !cmd command gives the ability to create their own chat commands.

Embedded commands

Custom commands can run internal commands using {…}. {X} where X is the command, e.g., {ping} or {luaimport https://pastebin.com/…}. Also, you can pass a message to the command using $1, e.g. {spam 5 $1}, {luaimport https://pastebin.com/… $1}.

Examples

Syntax

Create a new custom command

!cmd new [name] [message…]

Delete the custom command

!cmd delete [name]

Edit the message for custom command

!cmd edit [name] [message…]

Edit the custom command name

!cmd rename [name] [new_name]

Create a new alias for custom command

!cmd alias [name] [alias]

Delete alias from custom command

!cmd delalias [name] [alias]

Check the information about custom command

!cmd view [name]

Get the list of created custom commands

!cmd list

Usage

Creating a new custom command

Deleting the custom command

Editing the message for custom command

Renaming the custom command

Creating a new alias for custom command

Deleting the alias for custom command

Checking the information about the custom command

Check the source code