I searched this site for my question, but I didn\'t find a solution to my problem.
The system gives a random number for the player and for the computer, from 2 to 12.
you should search for delayed expansion
(setlocal enabledelayedexpansion
) and count your brackets: every opening bracket needs a closing one (there are exceptions I know, but not here). The opening bracket after if
must be on the same line like if
. The if
parser will stop here: %bet%)
because this is the first closing bracket after the last opening.