Creating a Hidden Counter

Asked Jun 28, 2021·1 reply·Last activity 5 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Hi there everyone!

I did a quick search through the forum but couldn't seem to find anything on this topic.
I'm looking to make a command that will keep track of how many times if was used without informing the chat. Basically I want to create a $(count) command without the count actually appearing in the chat message and only being something I can check in the back end!

1 reply

Hey @Purple Koala!

You can do this by using $(eval) and $(count):

!addcom !commandName $(eval $(count); `YOUR_COMMAND_RESPONSE`)

You'll then find the counter value in the dashboard when you edit the command.