Combination death/kill counter needed

Asked Apr 19, 2022·5 replies·Last activity 4 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 have attempted to use multiple threads to create this but I keep getting errors and I'm not doing something right. I would like to set up a command that chat can type, such as !killdeath, which will show a tally of how many times I've died and how many kills I've gotten. I also need a reset for each command. The latest thread I tried was for a win/lose set up which I thought would work by changing a few words but this is all I get in return:

I added the commands from this thread, (/t/win-loss-death-kill-counters-in-one-command/1534599429502537921), changing Wins, Losses, to Kills, Deaths in the 'gulag' command, which would act as my !killdeath command. Regardless of how many times I type !addkills or !adddeaths, when I type !killdeath, I get what's in the screenshot, so I obviously messed something up. Any help at all will be so greatly appreciated!

image.png

5 replies

You most likely entered the private or public tokens wrong make sure that there are no spaces in the commands around them that is the error I do myself most often and make sure they are the correct ones to. (They match and you haven’t used them before)

I verified the tokens and they are correct. But thank you for the reply/suggestion 🙂

Hey @Modest Hippo!

Not sure what else could be wrong. 🤔
Are you positive you haven't mixed up the PUBLIC_TOKEN and PRIVATE_TOKEN? The PUBLIC_TOKEN is 8 characters long, and the PRIVATE_TOKEN is 16 characters long, both are use at different places in the commands.

If you're sure of yourself regarding the tokens, it may be a good idea to copy/paste your code here, by masking the PRIVATE_TOKEN, just so we can have a look at it.

I finally got it to work. I deleted all the commands completely and started over. Thank you for your response 🙂

Didn't find your answer? The community is on Discord.

Ask on Discord