Skip to main content

Set Broadcaster Variable

Runs on: Backend.

Assigns a value to a broadcaster variable. Unlike flow variables, broadcaster variables persist across runs and stream sessions and are available to all your flows. Use them for point totals, death counters or settings.

Inputs​

NameTypeDescription
Valuestring, number, or booleanThe new value.

Configuration​

  • Variable: The broadcaster variable to set.

Example​

A !death command uses a Math node to add 1 to the deathCount broadcaster variable, then passes the result to Set Broadcaster Variable. The count survives going offline.