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
| Name | Type | Description |
|---|---|---|
Level | number | The highest hype train level the community reached before the train ended. |
Total | number | The total number of points contributed by all participants during the hype train. |
EndedAt | string | ISO timestamp for when the hype train ended. |
CooldownEndsAt | string | ISO timestamp for when the next hype train can begin. |
Type | string | The kind of train: regular, golden_kappa, or treasure. |
StartedAt | string | ISO timestamp for when the hype train started. |
TopBitsUser | string | Display name of the top Bits contributor. |
TopBitsTotal | number | Points contributed by the top Bits contributor. |
TopSubsUser | string | Display name of the top subscriptions contributor. |
TopSubsTotal | number | Points 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.