

echo %name% has fired an airstrike on the %enemy%! echo. pause goto gameplay :airstrike cls if '%airstrike%'='0' goto noairstrike echo. echo You can't use a nuke since you don't have any more left! echo. echo %name% has fired a NUKE headed towards the %enemy%! echo. set /p move=Select your option: if '%move%'='1' goto nuke if '%move%'='2' goto airstrike if '%move%'='3' goto missiles if '%move%'='4' goto surrender if '%move%'='5' goto cpu1 goto gameplay :nuke cls if '%nuke%'='0' goto nonuke echo. echo %country%: %user% DEF echo Options: echo %enemy%: %cpu% DEF echo 1. set /p country=Choose your country USA, Russia, or Canada: if '%country%'='usa' goto enemy1 if '%country%'='USA' goto enemy1 if '%country%'='Usa' goto enemy1 if '%country%'='Russia' goto enemy2 if '%country%'='russia' goto enemy2 if '%country%'='canada' goto enem圓 if '%country%'='Canada' goto enem圓 goto country :enemy1 set country=USA goto enemy :enemy2 set country=Russia goto enemy :enem圓 set country=Canada :enemy set /a cpucountryrand=%random% %%5 +1 if '%cpucountryrand%'='0' goto enemy if '%cpucountryrand%'='1' set enemy=Russia if '%cpucountryrand%'='2' set enemy=USA if '%cpucountryrand%'='3' set enemy=Canada if '%cpucountryrand%'='4' goto enemy if '%cpucountryrand%'='5' goto enemy if '%enemy%'='%country%' goto enemy :begin set user=1000 set cpu=1000 set nuke=1 set airstrike=2 set missiles=3 set cpunuke=1 set cpuairstrike=2 set cpumissiles=3 :gameplay cls set move= set choice= set cpucount=0 echo. set /p name=Please type in your name (One word): if '%name%'='' goto name rem Easter Egg: if '%name%'='Vincent' goto win :country cls set country= set enemy= echo. set /p player=Select 1 or 2 player mode: if '%player%'='1' goto name if '%player%'='2' goto p1name goto players :name cls set name= echo. pause :players cls set player= set replay= echo. echo Welcome to Total War, created by Vincent Allain. Enjoy! off color 0c title TOTAL WAR!!! echo.

Please tell me if there are any errors in the script and I will fix them. It took two days to complete for me because half of the script is based on the other half. This is a batch file that I have made fairly recently that is a cold war simulation.
