NightDev Community Forums

Can u make the count commands goes down

I know you can make nightbot count up by doing $(count)
so for example 10 hugs has been given
but can you make nightbot countdown
so for exemple 10 hugs go to 9 hugs

Hey @The_Stifler!

$(count) can only go up, however, if you know the maximum amount ahead of time, you can simply do:

$(eval MAXIMUM_AMOUNT-$(count))

So if your maximum amount is 10:

$(eval 10-$(count))