Code: Select all
ECHO.
ECHO blah blah blah
ECHO.
PAUSE
GOTO WHATEVER
:WHATEVER
ECHO.
ECHO blah blah blah
GOTO has always worked up until this point, I cant figure out what is wrong for the life of me.
:XENO10VALUE
SET /a "XenologyValue=%Int%+10"
SET /a "HUIntSkillValue=%XenologyValue%"
ECHO Xenology skill value is %XenologyValue%
PAUSE
GOTO CHARCREATIONPART2
:CHARCREATIONPART2
ECHO *******************************************************
ECHO.
ECHO.
ECHO Lets recap...
ECHO Here is what you have created so far...
ECHO.
ECHO.
ECHO Name: %CHARNAME%
ECHO Race: %CHARRACE%
ECHO.
ECHO Atrributes
ECHO.
ECHO Hp: %Hp%
ECHO Str: %Str%
ECHO Spd: %Spd%
ECHO Int: %Int%
ECHO.
ECHO Skills
ECHO.
ECHO Hp Skill chosen: %HUHpSkill% : %HUHpSkillValue%
ECHO Str Skill chosen: %HUStrSkill% : %HUStrSkillValue%
ECHO Spd Skill chosen: %HUSpdSkill% : %HUSpdSkillValue%
ECHO Int Skill chosen: %HUIntSkill% : %HUIntSkillValue%
ECHO.
ECHO.
PAUSE
GOTO STUPIDPIECEOFSHITCODE
:STUPIDPIECEOFSHITCODE
this is where it refuses to go to the next piece. instead it acts like I have a PAUSE and then thats it. after hitting any key at the prompt of PAUSE, it keeps on saying 'THIS' is not a recognizeable external or internal command, blah blah blah. which ive never had the rest of the game do that. it always goes right to whatever goto says to. I am so lost. So confused. I just want to fix this part. Also if I take away PAUSE, take away the GOTO and the next section, it acts like I have PAUSE anyways, then crashes. Normally If I dont add PAUSE, it ECHO's then exits. Thats why i always use PAUSE. The current file is at 374kb if that matters, and the code is extremely long. [/b]
Code: Select all
ECHO Congratulations. Its time to begin the game.
ECHO Dont worry about weapons, or equipment. You will be
ECHO able to aquire equipment in just a moment.
ECHO.
ECHO.
ECHO Now you have already picked your race, but what about
ECHO a little background history.
ECHO.
ECHO For instance which planet were you born on.
ECHO.
ECHO Where are your currently headed in this life.
ECHO.
ECHO Where has your life taken you thus far.
ECHO.
ECHO What are your dreams, hopes, and goals for the future.
ECHO.
ECHO Do you have a particular affiliation you resonate with.
ECHO.
ECHO Do you have a specific trade, guild, or job you follow.
ECHO.
ECHO We will decide these now, and very soon, you will be
ECHO on your way.
ECHO.
ECHO.
PAUSE
ECHO Lets start with where you were born.
ECHO.
ECHO.
set /P HUPLTBTHBG= "Luminosity, Erithrium, Sprocket, Verderous, Totem, Crest, Vaushan-Roid"
IF '%HUPLTBTHBG%'=='Luminosity' GOTO HUFUTRGOALSBG
IF '%HUPLTBTHBG%'=='Erithrium' GOTO HUFUTRGOALSBG
IF '%HUPLTBTHBG%'=='Sprocket' GOTO HUFUTRGOALSBG
IF '%HUPLTBTHBG%'=='Verderous' GOTO HUFUTRGOALSBG
IF '%HUPLTBTHBG%'=='Totem' GOTO HUFUTRGOALSBG
IF '%HUPLTBTHBG%'=='Crest' GOTO HUFUTRGOALSBG
IF '%HUPLTBTHBG%'=='Vaushan-Roid' GOTO HUFUTRGOALSBG
:HUFUTRGOALSBG
PAUSE
ECHO.
ECHO %CHARNAME% , Your birth planet is now %HUPLTBTHBG%.
ECHO.
ECHO.
PAUSE
ECHO What are your future goals in a few words? You can choose from a pre-generated list,
ECHO or choose to enter your own.
ECHO.
ECHO.
set /p HUGOALSSRTPICK= "PredeterminedList, MakeMyOwn"
IF '%HUGOALSSRTPICK%'=='PredeterminedList' GOTO HUFUTRGOALS1
IF '%HUGOALSSRTPICK%'=='MakeMyOwn' GOTO HUFUTRGOALS2
:HUFUTRGOALS1
ECHO.
ECHO Please pick from the pre-determined list
ECHO.
ECHO.
set /p HUFG= "ToDestroyAllLife, ToCreatePeace, ToDiscoverNewKnowledge, ToProtectAllLife, IJustWantToStealStuff, IWantToBecomeRich"
IF '%HUFG%'=='ToCreatePeace' GOTO HUFGRCD
IF '%HUFG%'=='ToDiscoverNewKnowledge' GOTO HUFGRCD
IF '%HUFG%'=='ToProtectAllLife' GOTO HUFGRCD
IF '%HUFG%'=='IJustWantToStealStuff' GOTO HUFGRCD
IF '%HUFG%'=='IWantToBecomeRich' GOTO HUFGRCD
:HUFUTRGOALS2
ECHO.
ECHO Please Enter your future goals, with NO SPACES, and with A CAPITAL FOR EACH NEW WORD.
set /p HUFG=
PAUSE
GOTO HUFGRCD
:HUFGRCD
ECHO.
ECHO %CHARNAME% , Your Future Goal(s) is,are %HUFG%
ECHO.
PAUSE
I want to add that a few times it had worked and gone to the next section, the :STUPID section, but then it will refuse to work again. Its like, Idk...I just dont get it. Ive tried everything I can think of to fix it or substitute it, etc. Nothing works. It either crashes, acts like I have pause when I dont, or says 'THIS' is not blah blah blah.