Is there a way to subtract a counter?

Asked Mar 19, 2020·3 replies·Last activity 6 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.

Hello

I made something like

!commands add !acounter /me One more. Count is $(count)

But I would also like to be able subtract that count sometimes (a mistake or something). Is it possible to make one that substracts one?

3 replies

There's nothing built-in for decrementing a $(count) but you can overwrite its value with:

!editcom !acounter -c=NEW_COUNT

where NEW_COUNT is any positive integer value.

Is there a way to get the current counter without editing it?

Sorry, there exists no way to only show the count value.