NightDev Community Forums

HELP, I need a command to count things

Hello, I would like to know how I can put a command to count a number of things, for example: I play overwach with Ana and I would like to put something that when people put the command, count how many times someone slept, I hope they understand me.
PS: translated by google translator

Hey @7naaz!

I’m not sure I understand properly what you’re looking for, but here are commands:
To add 1 sleep use !sleep, add it like so:

!addcom !sleep -ul=mod -a=!editcom !slept $(channel) slept $(count) times.

To see how many times the streamer slept use !slept, add it like this:

!addcom !slept $(channel) slept 0 times.

PS: appreciate that you used Google Translate