Can someone help me with a nightbot command?

Asked Jun 29, 2020·4 replies·Last activity 6 years 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’m not very good with coding or commands but I would like some help with writing a command for nightbot that involves counting. Thank you very much.

4 replies

What do you need help with exactly ?

I would like when someone types “slaygoblin” for nightbot to reply, “You have slain a goblin!” Along with how many times the user has used the command.

Do you want when just one person uses the command it counts up or do you want if anyone in your chat uses it itll count up?

Hey @Golden Hippo!

Here's the command that will update every time someone calls it:

!addcom slaygoblin $(user) has slain a goblin! $(count) goblins were executed so far...