Command Triggered

Trigger for when a Command is Triggered
Preview
Preview
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

The following variables will be populated when this trigger executes:

Description
commandstring

The command that was used

Example: !shoutout
commandIdGuid

The ID of the command

commandSourcestring

The command source

Example: twitch
commandTypestring

The type of the command

Example: message
counternumber

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

Example: 17
input#string

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

inputEscaped#string

The indexed word escaped

inputUrlEncoded#string

The indexed word URL encoded

msgIdstring

The unique message id for this message

rawInputstring

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

rawInputEscapedstring

The message escaped

rawInputUrlEncodedstring

The message URL encoded

rolenumber

What role the user has
1=Viewer, 2=VIP, 3=Mod, 4=Broadcaster