Ok, So i am fairly new to nightbot but have been doing a lot of research and tinkering. However I still cant get my counter to work.
Essentially, I need a counter with 3 commands.
First command should simply display a string with the current count amount.
ex. Gravity has killed x amount of players.
Second command should apply the $(count) variable to increase count.
ex. Gravity has killed x+1 amount of players.
Third command would be a mod command to reset current count to 0.
The main issue I am having is that once I run command 2, It correctly displays the string and correct count, but the command 1 is not getting the updated count info. It always sits at 1. Is there any way to add the count, edit command one correctly, AND display the correct text in command 2?
I was currently using this setup:
Command 1: !noflyzone Gravity has downed 0 aircraft this stream.
Command 2: !commands add !AA -ul=mod -a=!commands edit !noflyzone Gravity has downed $(count) aircraft this stream.
Command 3: !aareset edit !aa -c=0
What am I doing wrong?