Need help with win, loss, draw command code

I am not a streamer but I mod for a few people on twitch. I want to create a command for them to keep track of their win/loss/draws with nightbot. I have seen a similar command that uses eval to do this but I am unfamiliar with coding. I would need a !score, !addwin, !addloss, !adddraw, and a !reset since the score will be reset every stream. Any help will be greatly appreciated <3

Ex)
cmd) !score
ans) 0 wins, 0 losses, and 0 draws.
cmd) !addwin
cmd) !score
ans) 1 wins, 0 losses, and 0 draws.
cmd) !addwin 2 (Desired amount ,the same goes for losses and draws.)
cmd) !score
ans) 3 wins, 0 losses, and 0 draws.
cmd) !delwin 2 or !addwin -2 (Desired amount ,the same goes for losses and draws.)
cmd) !score
ans) 1 wins, 0 losses, and 0 draws

Hey @fijiwater69!

Have a look here, this should answer your question:

1 Like

thank you! i appreciate for taking your time to help <3

1 Like

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