Target user counter

Asked Apr 20, 2025·1 reply·Last activity 1 year 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 provided by a friend he wrote a few years back. the command is {$(touser) has been bonked by $(user)! Bonk count: $(count)} not including the {}. The way the command is suppose to work is if Amy was do put "!bonk @member" in my chat the output message would be "Bob has been bonked by Amy, Bob has been bonked 1 times" then the next time someone does "!bonk @member" the same message would appear but the counter would go to 2 from one, each @member would be kept separately so if the Emily put in my chat "!bonk Jake" the output would be "Jake has been bonked by Amy, Bob has been bonked 1 times" while keeping Bob has been bonked by Amy, Bob has been bonked 2 times

1 reply

Hiya, this is not possible with Nightbot, the $(count) will be stored per command, not for each user. So !bonk jake and !bonk bob would both add to the same $(count)