Deep Bot - Twitch Streamer Assistant
Deep Bot => Help/Support => Topic started by: stephiebunnie on February 20, 2019, 04:07:49 PM
-
I want to record my wins for my game with !addwin adding wins so that !wins will display my total wins.
How do I do this?
-
I want to record my wins for my game with !addwin adding wins so that !wins will display my total wins.
How do I do this?
This is pretty simple and can be done in a few ways.
The way I'll show you below is to make use of @getcounter@ in the !win command. This will grab the number of times that a specific command has been run in total. As such, you can reset the counter in !addwin when you need to.
If you need to know more custom variables that you can use, you can find there at http://wiki.deepbot.tv/custom_commands (http://wiki.deepbot.tv/custom_commands)
!addwin
That's 1 more win. The total number of wins we're at now is @counter@
!win
In total, we have had @getcounter@[!addwin] @if@[@getcounter@[!addwin]||1||victory!||victories!]