FugiTech/kaet

Counters with value of 0 are non-intuitive

Closed this issue · 3 comments

If you use "reset" the output says "0" but the counter is actually gone (and no longer available in commands). If you want a live counter with a value of 0 you have to create the counter with "inc"/"dec" and then use those commands to get the value to 0 (e.g. create a new counter with "inc" and "dec" back to 0). Perhaps "reset" and "removecounter" should be separate commands?

In order to not add yet another command, you could also make "reset" not remove the counter and instead modify "removecommand" to handle counters as well.

This is by design, and honestly I may make decrementing a counter to zero remove it as well. I can't see a good use-case for zero counters.

One example: "!chicken" for counting PUBG wins. Mod resets to 0 at start of stream. Allows newly arrived viewers to find out without bothering anyone.