I have the warzone custom API command working but I was wondering how to get the nightbot response to be (user profile) has stats of ......
Also I can not for the life of me get HeadshotPCT to work either.
$(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; `$(s.data.platformInfo.platformUserHandle} has stats of: K/D: ${r} | Wins: ${w} | Kills: ${k} | Deaths: ${d}`)
Now I’m not sure that this is the username that you want but I think this should probably do what you want.