Random Output
The Random Output check randomly routes its input to one of multiple outputs. Each time data flows through this node, it randomly selects one of the available output paths. This is perfect for adding variety and unpredictability to your stream -- random responses, random sound effects, random alerts, and more.
The number of outputs is configurable, so you can have as many random branches as you need. Each output has an equal chance of being selected.
Inputs
| Name | Type | Description |
|---|---|---|
any | any | Any input data to be randomly routed. |
Outputs
The number of outputs is configurable. Each output receives the input data when randomly selected.
Configuration
- Number of Outputs: How many output paths to create. Each path has an equal probability of being chosen.
Example
Use the Random Output node after a Chat Command trigger for a !8ball command. Create 5 outputs, each connected to a different Send Chat Message effect with a different fortune response. Each time a viewer uses the command, they get a random answer.