Looking for a custom command to roll a count back by 1

Pretty much what the title says. I’ve made a command already to increase a count when the command !girly is typed but I cant seem to work out a command to roll it back by 1 incase of a mistake rather than me having to edit the nightbot mid stream.

Anyone able to help me out?

As far as I know there’s no specific function that decrements the $(count) value by 1, but you can change the $(count) value in !girly by creating another command that changes the value to a specified number:

!addcom !editgirly -a=!editcom !girly \-c=$(1)

If you accidentally use !girly and want to roll back the $(count) value to whatever it was before, you have to use the command !editgirly like so:

!editgirly [original value]

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