NightDev Community Forums

Command to add up a set ammount

Hello!
I’m trying to make a command that is a counter but regular “count” will just add one at a time.
Is there a way i can do a command using eval so every time a mod uses the command it will add “3” to the previous number?

I would have 2 commands, one for viewers to see the total ammount, one for mods to edit the command every time the counter needs an update

!addcount = (ammount + 3)

!count = total current ammount

I hope im making any sense

Thank you in advance!

@missbehavingx

!addcom -cd=5 !count 0

!addcom !addcount -a=!editcom !count $(eval $(count)*3)
1 Like

Thank you so much!!! <3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.