$(count)

Overview

Use $(count ...) to manage a counter per channel. You can read values or increment/decrement them.

Syntax

$(count KEY [+N|-N] [silent])

Examples

$(count lost)

$(count lost +1)

$(count lost -2)

$(count deaths +1 silent)

Where to use it in the dashboard

You can use $(count ...) in Bot -> Commands, Bot -> Timer, Bot -> Chat Alerts, and Chat Automation -> Raid Shoutout, as well as in Stream Tools -> Clip Command when using a custom response template.

Notes

  • KEY is a single word without spaces.
  • Without + or -, only the current value is returned; a new counter starts at 0.
  • If no number is provided, the default is 1.
  • With silent at the end, the counter changes as usual but the number doesn't go to chat. If the response is only this variable, the bot posts nothing at all – handy for a counter that should only show in the counter overlay.