Commands

Chat commands let your viewers and you trigger actions by typing a keyword in chat, such as !tts or !ai. When a command runs, 4thRock performs an action (reading a message aloud, queueing media, drawing a winner) and can post a reply.

The Commands page

The list on the left is every command: the built-in ones (!tts, !music, !media, !ai, !translate, !chat, !giveaways, !commands) and the ones you add. Each row shows the trigger, what it does, and the platforms it works on. Filter by platform, on/off, role or kind; the orange Actions menu adds a new command.

Click a row to open it on the right:

  • Behavior - the on/off switch in the header, the platforms it works on, the minimum role (viewer, subscriber, VIP, moderator), the cooldown in seconds and the cost in chat currency. A built-in command's description sits behind the info mark next to the title, in your dashboard language.
  • Reply - the text the bot posts back. A built-in's default reply is written in your language and cannot be rewritten (you can turn the command off); your own commands' replies are yours to edit, with placeholders like {user} protected.
  • Timer & aliases (your own commands only) - post the reply every N minutes, and other words that trigger the same command. A built-in's aliases are listed on its Behavior section.

Each command has its own Restore defaults; there is no list-wide reset.

Subcommands

Built-in commands have subcommands (!tts voices, !music sp skip, !media get). Each subcommand has its own role, cooldown, cost and reply, edited under the parent command.

Turning features on

Three features have a chat command that switches them on and off:

In chatWhat it switches
!tts on / !tts offText-to-speech
!media on / !media offMedia
!translate on / !translate offLive captions

These are the same switch as the power toggle on the widget's pill on Home and on the widget's band: both write one setting, so whichever you used last wins. The bot answers in chat to confirm. on, off and skip always work, even when you turn other subcommands of that command off; who may use them is the subcommand's role under the parent command. Alerts and Music have no chat switch; use their pills.

!translate on must be typed in full; the short form !t on translates the word "on".

TTS can also be set to read every message without the !tts command: on the TTS page, turn Require command (!tts) off and pick a Default voice.

Example

With the !tts command on, a viewer types:

!tts Hello, welcome to the stream

4thRock reads it aloud through your overlay. !tts zira Hello reads it in a specific voice; !zira Hello is the short form.