Help with “tracker” command

Asked Nov 18, 2020·2 replies·Last activity 5 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 was wondering if anyone could help me figure out how to create a tracker style command. Basically trying to track a "unit" like "!tracked" would respond "Unit1: 9, Unit2: 2, Unit3:15" and adding a Unit4 would be something like "!track , Unit4: 0" then obviously add that to the end.

My original idea was to do something like this:

!addcom !test Unit1: 9
!addcom !addtest $(querystring)

But obviously this flopped because it would overwrite and not “add” to the command.

Send help lol

2 replies

I mean if worse comes to worse.. I can just manually do it, but semi-automation would be super nice. I've had to do this in the past where I call the command, copy the output, and recreate the command and add the new data.