Counting by editing a command?

In the search for the way to show a count without increasing it, I ran across this topic:

And I would love to implement the solution proposed by “Aaron128l”.
However, even when copy/pasting his command line, all nightbot gives me is:
Nightbot: [invalid variable]
When attempting to use the Editing command.

Is this no longer implementable?
Is there a different way to write this now?
Or can we simply get the value from a $count without increasing it?

That post is very outdated as the $(alias) variable no longer exists.

Here’s an updated way to do it.

!commands add !addcount -ul=moderator -a=!commands edit !count This is a count $(count)
!addcount will update !count by 1 (for moderators)

!commands add !count This is a count 0
!count will display the current total command

Thank you very much, this is great! :smiley:

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