cls
echo What type of charactor do you want to be?
echo 1) Warrior
echo 2) Archer
echo 3) Mage
echo 4) Back
set /p input=Answer?
if %input%==1 goto NEW CHARACTER BOY WARRIOR
if %input%==2 goto NEW CHARACTER BOY ARCHER
if %input%==3 goto NEW CHARACTER BOY MAGE
if %input%==0 goto NEW CHARACTER
:NEW CHARACTER BOY WARRIOR
cls
type BoyWarrior.txt
when
echo Are you sure that you want to be a male warrior?
set /p input=Answer? [Y/N]
if %input%==Y goto GAME
if %input%==y goto GAME
if %input%==N goto NEW CHARACTER BOY
if %input%==n goto NEW CHARACTER BOY
cls
echo Unknown reply!
pause
goto NEW CHARACTER BOY WARRIOR
_____________________________________
When I get to the Y/N question when i press Y,y,N,n and enter command prompt closes!
It also does this for
echo Unknown reply!
pause
goto NEW CHARACTER BOY WARRIOR
why is this and how can i fix it
HELP! code not working!
Moderator: DosItHelp
Re: HELP! code not working!
When is not a valid command and I also believe you cannot use spaces with labels.
Re: HELP! code not working!
Thanks it kind of helped. But it's working now