Check
Runs on: Shared. Runs on the Community backend or inside a chatbox overlay.
Compares the value on Input to the value on Match and routes the original data to Pass or Fail. Use it for a simple if/else when String Check, Math Check or If are more than you need. Both outputs pass the input through unchanged.
Inputs
| Name | Type | Description |
|---|---|---|
input | any | The value to evaluate. Passed through on both outputs. |
match | any | The value to compare against. |
Outputs
| Name | Type | Description |
|---|---|---|
pass | pass-through | The input, when the condition is satisfied. |
fail | pass-through | The input, when it isn't. |
Example
After a Channel Point Redeem trigger, connect the redemption's text to Input and a Text Data node containing "banana" to Match. If the viewer typed "banana", Pass triggers a silly overlay. Anything else goes down Fail.