這是我的腳本。每當玩家轉到腳本的這部分時,就會說失蹤的運營商。但它只是第一次這樣說。幫幫我。批處理遊戲中缺少運算符
:M221
(
set /p Gold=<"%CD%\Data Files\gold.dat"
)
set /a gold=%gold%+60
echo You have earned 60 gold today. Time to go home and go to bed.
pause
cls
goto home3
:M321
(
set /p Gold=<"%CD%\Data Files\gold.dat"
)
set /a gold=%gold%+80
echo You have earned 80 gold today. Time to go home and go to bed.
pause
cls
goto home3
:M421
(
set /p Gold=<"%CD%\Data Files\gold.dat"
)
set /a gold=%gold%+150
echo You have made a spectacular sword and earned 150 gold today. Time to go home and go to bed.
pause
cls
goto home3
真的,密切的選民?無關?批處理文件代碼與編程無關的確切方式是什麼? – paxdiablo
不幸的是,似乎有一羣密友在機械上運用他們的無名特權。可能狂熱的「使用PowerShell」異端。 – Magoo