!editcounter
Twitch YouTube Trovo Kick
Overview
The !editcounter
command allows streamers and moderators to modify the value of a pre-defined custom counter directly from chat. Counters are useful for tracking things like deaths in a game, wins, specific events, or any other metric you want to display or reference.
Note: Counters must first be created in the StreamElements Dashboard under Chatbot
-> Counters
.
Usage
To modify a counter, use the following syntax:
!editcounter <counter_name> <value>
Important: By default, only users with Moderator permission level or higher can use this command.
Examples
example chat
ModUser:
StreamElements:
example chat
BroadcasterName:
StreamElements:
example chat
ModUser:
StreamElements:
Parameters
<counter_name>
(Required): The exact name of the counter you created in the Dashboard (case-sensitive).<value>
(Required): The value to apply. It can be:- A number (e.g.,
15
): Sets the counter to this exact value. +number
(e.g.,+1
): Increments the counter by this amount.-number
(e.g.,-3
): Decrements the counter by this amount.
- A number (e.g.,
Configuration
- Counters must be created in the StreamElements Dashboard under
Chatbot
->Counters
before they can be edited via this command. - The command's permission level can be adjusted under
Chatbot
->Chat Commands
->Default Commands
.
Related Variables
$(count <counter_name>)
: This variable displays the current value of the specified counter. It can be used in other commands or titles. Example:!deathcount - Current deaths: $(count deaths)