I need to jump to random sections to reduce the number of the same names created in each system.
E.g
Sometimes it will go to a, b or c.
:A
echo. Lauren
pause
:B
echo. Anni
pause
:C
echo. Joe
pause
@echo off
set /a randnum=%random% %% 3
set /a randnum+=1
if %randnum%==1 goto A
if %randnum%==2 goto B
if %randnum%==3 goto C
:A
echo Lauren
pause
goto EOF
:B
echo Anni
pause
goto EOF
:C
echo Joe
pause
:EOF
| « Java bits shifting within... | creating a point of sale ... » |