Counting for noobs please help

Asked Jun 2, 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.

i have a command:
!addcom -ul=mod !addeath $(channel) has Died $(count) times!
which outputs:
channel has died x+1 times
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
i need a command to behave as follows:
!deaths
output :channel has died x times
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

i thought of sticking to using count but you cant read the count variable you can only call it to increase the value.Nor can you decrease count,which is stupid as how do i count down levels left to complete of a game

I need night bot to allow user defined variables count = count +1 ,count = count -1,print(count)
number = 234 but unfortunately it doesn't so i am stucky jerry rigging code with chewinggum and staples and ALOT of caffeine

1 reply