mardi 4 août 2015

If Statements and Gotos

Why would this not work? Whenever I hit 1, it does nothing, and it does the same in parts of the shop. :/

set /p i=Enter: 
if "%i%" == "1" goto prepare
if "%i%" == "2" goto shop
if "%i%" == "3" goto farm
goto home

Aucun commentaire:

Enregistrer un commentaire