Check Broadcaster Variable
Runs on: Frontend (Chatbox). Chatbox Flow Editor only.
Compares a Streamer Variable against a value and forwards the message or event to Pass or Fail.
Numbers are compared as numbers; everything else as text. exists and does not exist only test whether the variable is set.
Inputs
| Name | Type | Description |
|---|---|---|
event | any | The message or event from a chatbox trigger or an upstream check node. |
Outputs
| Name | Type | Description |
|---|---|---|
pass | any | The message or event, forwarded if the condition is met. |
fail | any | The message or event, forwarded if the condition is not met. |
Configuration
- Variable: The name of the broadcaster variable to check.
- Condition: equals, not equals, greater than, less than, at least, at most, exists, or does not exist.
- Value: The value to compare against. Ignored by exists and does not exist.
Example
Set the variable to subathonActive, the condition to equals and the value to true, then route Pass to a festive variant for the whole subathon.