Trigger methods

Edit

Math: Trigger Pull #

Used in combination with any triggers you set up for the button.
For example, if you set up a button with a Twitch Subs trigger, you can use this command to get the subscriber’s name once the button is triggered.
Refer to our Triggers section to learn more about triggers and their pull values.

Box Name Type Description
Variable String Variable name to save the pulled value into.
Pull Value Dropdown Value you wish to pull from the trigger.
Turn to real boolean Whether you want to turn the pulled value to real (number).


Edit

String: Get Trigger Type #

Returns a string containing the type of trigger that activated the button. Can be used to know which Math: Trigger Pull value to use.

Possible returns:

  • Chat message
  • Sub
  • Gifted sub
  • Bits
  • Redeem
  • Redeem with message
  • Host
  • Raid
  • Extension
  • Other (any trigger through Stream Deck, Command or Shortcut)
Box Name Type Description
Variable String Variable name to store the returned trigger under.


Edit

String: Wildcard Pull #

Use this command with a button trigger to pull the wildcard value.

Box Name Type Description  
Variable String Variable name to store the pulled wildcard value under
Wildcard number Int This refers to which wildcard you wish to get.
0 = first wildcard, 1 = second wildcard, etc.
Turn to Real boolean Whether you expect a real value (=number) or a string.