Scale the raid welcome to its size
Medium
Graph structure (text alternative)
Trigger: onRaid
Nodes:
- On Raid
(entry.onRaid) - Number
(data.literal.int) - Number Greater Than
(compare.intGreater) - If
(flow.if) - Text
(data.literal.string) - Text
(data.literal.string) - Send Chat Message
(action.sendChat) - Send Chat Message
(action.sendChat)
Connections:
- On Raid.viewers → Number Greater Than.left
- Number.value → Number Greater Than.right
- Number Greater Than.value → If.condition
- On Raid.out → If.in
- If.then → Send Chat Message.in
- Text.value → Send Chat Message.text
- If.else → Send Chat Message.in
- Text.value → Send Chat Message.text
Walkthrough
Give big raids a bigger welcome than small ones.
How it works
- On Raid fires when another channel raids you, binding the incoming viewers count.
- Number Greater Than compares viewers to
25. - If branches on that result: the then path celebrates a big raid, the else path gives a warm standard welcome.
- Two Send Chat Message nodes post the right message for each path.
Tune the cutoff on the Number node. See On Raid for the other fields it binds.
