Help!, !wins, !setwins

Is it possible to create a custom command! Setwins to edit an existing command! Wins
I would like to edit two variables in the wins command. For example:

! win would come back something like: we have 15 wins in the game
I would like to set a command in which you can easily edit: Setwins 16 would change the numeric values ​​and leave the same command otherwise: Streamer has won 16 times in the game

Is this possible? Thank you.


I set up 2 commands below, !wins which will show the number of games you have won, and !setwins which edits the number of games you won. Just copy each of the following setups into chat one by one to create the commands:

!addcom -cd=5 !wins $(channel) has 0 wins.

!addcom !setwins -a=!editcom !wins $(eval a=parseInt(decodeURIComponent(`$(querystring)`));!isNaN(a)&&a>-1?`$(channel) has ${a} wins.`:` `)

Command usages:
!setwins [number of wins]

You are a Lord God! thank you!!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.