Nightbot setwins

Asked Jan 26, 2021·1 reply·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.

How would I go about adding a winstreak into a !setwins command like this:

!setwins -ul=mod -a=!commands edit !wins $(eval var q="$(querystring)";var s="0 wins";if(""!=q.trim()){var wins=q.split("%2C");if(wins.length>0)s=wins.length+" wins ("+wins.join("k, ")+"k)"} s)

so where it will show !wins User has won 4 games (12k,11k,12k,11k) currently on a 2 game wins streak?

1 reply