Skip to main content
Corvus Connection

Scale the raid welcome to its size

Medium
When a channel raids in, give big raids a louder shout-out and small ones a warm welcome.
On RaidoutfromNamefromIdviewersNumbervalueNumber Greater ThanleftrightvalueIfinconditionthenelseTextvalueTextvalueSend Chat MessageintextoutSend Chat Messageintextout
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

  1. On Raid fires when another channel raids you, binding the incoming viewers count.
  2. Number Greater Than compares viewers to 25.
  3. If branches on that result: the then path celebrates a big raid, the else path gives a warm standard welcome.
  4. 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.

Uses these nodes