So what I want !setwins to be able to do is, when I type !setwins 1 1 1 3, It’ll change the solo duo squad and total win counter. So the message that should appear is
Solo’s ( 1 ) - Duo’s ( 1 ) - Squads ( 1 ) - Total Wins ( 3 )
But this is the message I get back when I try to use the !wins command after setting the wins…
Solo’s ( [invalid variable] ) - Duo’s ( [invalid variable] ) - Squads ( [invalid variable] ) - Total Wins ( [invalid variable] )
I don’t understand what I’m doing wrong. Any assistance is greatly appreciated !
$(0) is not a valid variable. The arguments variables go from $(1) to $(9). Also, you used $(0) 4 times. The argument variable number should be increased by 1 for each separate argument. You should use $(1), $(2), $(3), and $(4).