入力に対して入力と結果を入力しようとすると、この問題が引き続き発生します。私は問題が何であるか分かりません。私はこのパズルを解読するたびに解決する必要がないように知りたいと思います。コードは次のようになります。テキストベースのゲームをバッチコーディングする際に「今のところ___が予想外でした」という問題が発生しました。
:A1
cls
type A1intro.txt
echo.
echo.
set input=5
set /p input=NOW WHAT?
if %input%==HELP goto A1HELP
if %input%==LOOK goto A1LOOK
if %input%==LOOK AT BED goto A1BED ***this is where it says 'A1 not expected' once I type LOOK AT BED in the input***
goto A1
:A1BED ***So, this is where the A1 bed goes to and where the issue is with the code. No other command does this except this one. The others are identical in their coding.***
cls
type A1bed.txt
echo.
echo.
pause
goto A1