Trigger methods
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. Click on the hamburguer icon on the right to choose the correct value. |
If you select Trigger Type in the dropdown menu, you can check what kind of event triggered the button (this replaces String: Get Trigger Type command from LB1). It will return a different numerical value for each type.
There is also an array that lists all Trigger Types in the Global Variables section of the Variable Viewer in LioranBoard.
Numerical Value | Trigger Type |
---|---|
0 | Twitch Chat |
1 | Twitch Subscriber |
2 | Twitch Community Gift |
3 | Twitch Channel Points Redeem |
4 | Twitch Raid |
5 | Twitch Bits |
6 | Twitch Follower |
7 | Hotkey |
8 | Interval Trigger |
9 | OBS Trigger |
10 | LioranBoard Trigger |
11 | Twitch Moderation |
12 | Extension Trigger |
13 | Twitch Whispers |
14 | Twitch Host |
15 | Twitch Prediction |
16 | Twitch Poll |
17 | Twitch Hype Train |
18 | Youtube Chat |
19 | Youtube Subscriber |
20 | Youtube Superchat |
21 | Youtube Superchat |
22 | Youtube Supersticker |
23 | Youtube Member |
24 | Stream Deck Button Press |
25 | Trigger Button |
26 | Trigger Button with Delay |
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 | Int | This refers to which wildcard you wish to get. 0 = first wildcard, 1 = second wildcard, etc. |
This is the same command Transmitter uses to send Extension triggers to LioranBoard.
Extremely useful as you can pass parameters from one button to another button (especially if it’s an overlappable button with non persistent variables) and make it behave like a function in programming.
Box Name | Type | Description |
---|---|---|
Extension Trigger | String | The name of the extension trigger to send |
Trigger Data Object | Object | Same payload as sending data from the Transmitter. Populate the object with your desired parameters (simple values, arrays, other objects) you wish to be pulled in the receiving button. |