Command Triggered

Trigger for when a Command is Triggered
Command Triggered Trigger Dialog
Command Triggered Trigger Dialog
Check out the Commands Guide for details on configuring your Commands

Parameters

Commands
Select
Select a command from the Commands tab.
You can quickly register a new command by clicking the Create Command button!

::

Variables

NameTypeDescription
Example Value:123

Only when the command mode = "Regex"

When using named capture groups (e.g, (?'points'\d+) or (?<points>\d+) ), each named capture group becomes an argument containing the text of the match.

Example Value:!shoutout

The command that was used

The ID of the command

The name of the command

Example Value:twitch

The command source

Example Value:message

The type of the command

Example Value:17

A running total of how many times a command has been run since application launch

The # word of the message entered, spaces are delimiters and variable names are 0 indexed, so input0 would give the first word, input1 would give the second, and so on

The indexed word escaped

The indexed word URL encoded

Example Value:3

Only when the command mode = "Regex"

The number of match groups (named or unnamed) in the regex.

Note that this is always 1 more than the number of parentheses groups, as the entire match is implicitly group 0.

Example Value:matching word

Only when the command mode = "Regex"

The text matching each indexed capture group.

Index 0 is the entire matching text, and the first parenthesized group is 1.

The unique message id for this message

The message entered, if the command was a Starts With, this will be removed

The message escaped

The message URL encoded

Example Value:17

A running total of how many times the command has been run by current user since application launch

 
Variables generated by all triggers and available within all action executions.