The API blocked requests from Nightbot, the command is dead.
Alrighty, I’ll make it very simple for you then, but please take the time to try to understand, I can’t make it simpler than this, it’s the simplest thing ever and you won’t be spoon-fed about this again, that said an example never hurts.
Just copy/paste this in your chat, press enter to send the message:
!addcom !stats -a=_stats $(eval `$(querystring)`.toLowerCase().replace(`%20`,`/`))
And then do the same thing with this:
!addcom _stats $(eval s=$(urlfetch json https://api.tracker.gg/api/v2/warzone/standard/profile/$(query)).data.segments[0].stats; r=s.kdRatio.value; k=s.kills.value; d=s.deaths.value; w=s.wins.value; `Wins: ${w} | Kills: ${k} | Deaths: ${d} | Kills/Deaths Ratio: ${r}`)
Here’s how to set it up from your dashboard, press Submit
to add the commands (one by one):
Then to use the command type: !stats battlenet xkajonx#12345
for example.