Skip to main content

Custom Alert Box Widget

Provides the data, animation and audio for an alert and lets you choose the position, size and type of each child widget. This gives more control than the standard Alert Box.

Text-compatible widgets inside it (such as a Text Widget) can read the alert's fields through {{alert.<field>}}, so each piece of an alert can sit in its own widget, e.g. one for the username and one for the streak.

Image Widgets work inside it. Use Super Cheer Image for the one that swaps in each viewer's custom alert image.

Alert Fields Available to Child Widgets​

The fields under {{alert.<X>}} depend on the alert type that fired. Fields that don't apply to the current alert type resolve to an empty string.

Follow​

VariableDescription
{{alert.name}}Display name of the new follower
{{alert.display_text}}The fully-resolved display message

Cheer (Bits)​

VariableDescription
{{alert.name}}Display name of the cheerer (or Anonymous)
{{alert.bits}}Number of bits cheered
{{alert.message}}The chat text the viewer attached to their cheer
{{alert.is_anonymous}}true or false
{{alert.display_text}}The fully-resolved display message

New Subscription​

VariableDescription
{{alert.name}}Display name of the subscriber
{{alert.tier}}Subscription tier (1, 2, or 3)
{{alert.display_text}}The fully-resolved display message

Recurring Subscription (Resub)​

VariableDescription
{{alert.name}}Display name of the subscriber
{{alert.tier}}Subscription tier (1, 2, or 3)
{{alert.months}}Months the viewer declared in their resub
{{alert.streak_months}}Consecutive months without a gap
{{alert.cumulative_months}}Lifetime months on the channel
{{alert.duration_months}}Multi-month sub duration
{{alert.message}}The chat text the viewer attached to their resub
{{alert.display_text}}The fully-resolved display message

Gifted Subscription​

VariableDescription
{{alert.name}}Display name of the gifter (or Anonymous)
{{alert.tier}}Subscription tier (1, 2, or 3)
{{alert.quantity}}Number of subs gifted (single-recipient gifts are 1)
{{alert.recipient}}Recipient display name (empty for bulk gifts)
{{alert.is_anonymous}}true or false
{{alert.display_text}}The fully-resolved display message

Raid​

VariableDescription
{{alert.name}}Display name of the raiding broadcaster
{{alert.viewers}}Number of viewers in the raid
{{alert.display_text}}The fully-resolved display message

Example: Separate Username and Streak Widgets​

Inside a Custom Alert Group configured for resubs, place two text widgets side by side:

  • Text Widget #1: {{alert.name}}
  • Text Widget #2: subscribed for {{alert.streak_months}} months

Each shows in its own positioned, styled widget.

Non-alert variables (stream stats, time, math) work in the same widgets. See Special Variables.