@echo off echo TESTGAME set answer echo 1)Play Game echo 2)Exit set /p answer=0 if %answer%==1 ( cls echo 1)[blahblah] echo 2)[blahblah] set /p answer= if %answer%==1( echo [blahblah] ) if %answer==2 ( echo [blahblah] ) ) if %answer%==2 ( exit )
When I open the game, The first input (the game menu input) appears, but when I type in something and press enter it closes. What's the problem here?
Can't there be an if statement inside an if statement?
Thanks!

New Topic/Question
Reply



MultiQuote


|