Skip to main content

Hype Train End

Runs on: Shared. Runs on the backend or in a chatbox overlay.

Fires when a hype train ends, whether the community hit max level or the timer expired. Use it to celebrate in chat, show a recap overlay or reset hype train visuals.

Outputs​

NameTypeDescription
LevelnumberThe highest hype train level the community reached before the train ended.
TotalnumberThe total number of points contributed by all participants during the hype train.
EndedAtstringISO timestamp for when the hype train ended.
CooldownEndsAtstringISO timestamp for when the next hype train can begin.
TypestringThe kind of train: regular, golden_kappa, or treasure.
StartedAtstringISO timestamp for when the hype train started.
TopBitsUserstringDisplay name of the top Bits contributor.
TopBitsTotalnumberPoints contributed by the top Bits contributor.
TopSubsUserstringDisplay name of the top subscriptions contributor.
TopSubsTotalnumberPoints contributed by the top subscriptions contributor.
Train type

Type replaces the old Golden Kappa flag. To react only to a Golden Kappa train, branch on Type equalling golden_kappa. A Treasure Train reports treasure and an ordinary train regular.

Example​

Branch on Level with a Math Check: at 5 or higher send a "MAX LEVEL, legendary hype train!" message and a special alert, otherwise "Great hype train, we hit Level [Level]!". Add Total to a variable to track lifetime hype train points, and thank TopBitsUser and TopSubsUser by name.