How to see a total $(count) without adding to it help please


#1

I have a command :!duodubs = Duo wins $(count)’ and i want to show the count without adding to it. Every time someone does the command it adds to it I just want to show the number
EX:
Duo wins $(count):is 30
VIEWER:
!duodubs = Duo wins $(count):31
VIEWER 2:
!duodubs = Duo wins $(count):32
ECT


#2
!addcom !duodubs Duo wins 0
!addcom !duodubsaddwin -a=!editcom !duodubs Duo wins $(count)
!addcom !duodubsreset -a=!editcom !duodubsaddwin \-c=-1

!duodubs displays the count
!duodubsaddwin increases the count by 1
!duodubsreset resets the count (you must use !duodubsaddwin after using this command)


#3

thanks this helps a lot :grinning:


#4

@am_1
is there a way to add 3 of these into 1 command like

!addcom !solodubs Solo wins 0
!addcom !solodubsaddwin -a=!editcom !solodubs Solo wins $(count)

!addcom !duodubs Duo wins 0
!addcom !duodubsaddwin -a=!editcom !duodubs Duo wins $(count)

!addcom !squaddubs Squad wins 0
!addcom !squaddubsaddwin -a=!editcom !Squaddubs Squad wins $(count)

!addcom !allwins All Wins 0

also i cant put these in my own channel like nightbot is not here


#5

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