home commands wiki

!cmd

Delay 1 seconds
Subcommands new, delete, edit, rename, alias, delalias, view, list, setglobal
Aliases scmd
Minimal rights moderator

This command is for broadcaster and moderators only

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

Syntax

Create a new custom command

!cmd new [name] [message...]

  • [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

!cmd delete [name]

  • [name] - Name of custom command.

Edit the message for custom command

!cmd edit [name] [message...]

  • [name] - Name of custom command.
  • [message] - Text with which to replace

Edit the custom command name

!cmd rename [name] [new_name]

  • [name] - Name of custom command.
  • [new_name] - New name for custom command.

Create a new alias for custom command

!cmd alias [name] [alias]

  • [name] - Name of custom command.
  • [alias] - New alias for custom command.

Delete alias from custom command

!cmd delalias [name] [alias]

  • [name] - Name of custom command.
  • [alias] - Alias of custom command.

Check the information about custom command

!cmd view [name]

  • [name] - Name of custom command

Get the list of created custom commands

!cmd list

Usage

Creating a new custom command

  • !cmd new !sub Buy a Twitch sub at this link and become like the rest of us 😎

Deleting the custom command

  • !cmd delete !sub

Editing the message for custom command

  • !cmd edit !sub Buy a Prime sub at this link and become like the rest of us 😎

Renaming the custom command

  • !cmd rename !sub buysub

Creating a new alias for custom command

  • !cmd alias !sub buy_subscription

Deleting the alias for custom command

  • !cmd delalias !sub subscription

Checking the information about the custom command

  • !cmd view !sub