All events in Streamer.bot will generate an argument stack specific to that event source, providing variable data to the current action, and subsequent sub-actions.
Most events will always include all generic arguments in addition to their own documented variables. Any exceptions will be listed on the page detailing that function.
This list is not exhaustive and some variables may work with sub-actions / events even though they do not specifically state compatibility.
If an event is not documented, you can always use Log All Arguments in a sub-action to see all variables available to you.
Variables can be used in most sub-action text inputs.
To use a variable from the current argument stack, wrap the variable name with a %
symbol, e.g. %userName%
%
within logic statements like If
and Global
Variables can be formatted inline using standard C# notation
For example, to format a numeric veriable %tipAmount%
as a currency with 2 decimal places, we can use the following syntax: %tipAmount:c2%
Similarly, %time%
can be formatted in short notation with AM/PM using the following syntax: %time:t%
Further information on valid formatting modifiers can be found here and valid format strings for %time%
Anywhere you can do a variable replacement, you can also execute Inline Functions
!quote
command