Codes for CMD

View previous topic View next topic Go down

Codes for CMD

Post by CCSDylan on Mon Nov 09, 2015 3:37 pm

Codes:


title Matrix

color a

@echo off


:Matrix

echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%
goto Matrix
avatar
CCSDylan
Admin

Posts : 19
CCS Points : 925
Join date : 2015-11-02
Age : 19

View user profile

Back to top Go down

Re: Codes for CMD

Post by CCSDylan on Mon Nov 09, 2015 3:37 pm


@echo off


:Start

cls

echo What is your name?

set /p name=

echo So your name is %name% !

pause


:"TITLE OF YOUR SCENARIO HERE"

cls

title "TITLE OF YOUR GAME HERE"

echo "WRITE THE SCENARIO HERE. WHAT HAPPENS???"

echo.

echo 1.) OPTION1

Echo 2.) OPTION2

Echo 3.) OPTION3

echo.


set /p var=What do you do?:

if %var%==1 goto OPTION1

if %var%==2 goto OPTION2

if %var%==3 goto OPTION3


:OPTION1

cls

echo "Type what happens here"

pause

exit


:OPTION2

cls

echo "Type what happens here"

pause

exit


:OPTION3

cls

echo "Type what happens here"

pause
exitx
avatar
CCSDylan
Admin

Posts : 19
CCS Points : 925
Join date : 2015-11-02
Age : 19

View user profile

Back to top Go down

Re: Codes for CMD

Post by CCSDylan on Mon Nov 09, 2015 3:38 pm















@echo off




:Start

cls

echo What is your name?

set /p name=

echo So your name is %name% !

pause




:MYGAME

color 7

cls

title "Final Level"

echo Grand Boss Dylan points a gun at you. What do you do?

echo.

echo 1.) RUN

Echo 2.) Confront Him

Echo 3.) Flex Your Muscles

echo.




set /p var=What do you do?:

if %var%==1 goto RUN

if %var%==2 goto Confront Him

if %var%==3 goto Flex Your Muscles




:RUN

color C

cls

echo As you try to run, you slip on a banana peel and die.

pause

goto MYGAME




:Confront Him

color A

cls

echo As you confront him, Dylan pulls the trigger but realizes that

echo there are no bullets.

pause

goto NEXTLEVEL




:Flex Your Muscles

color C

cls

echo As you flex your muscles, you realize that you had already been shot.

echo You're dead.

pause

goto MYGAME







:NEXTLEVEL

color 7

cls

echo Now is your opportinity to strike. What do you do?

echo.

echo 1.) Chuck a rock at him

Echo 2.) Start spitting fire bars at him

Echo 3.) FLEX

echo.




set /p var=What do you do?:

if %var%==1 goto Chuck a rock at him

if %var%==2 goto Start spitting fire bars at him

if %var%==3 goto FLEX




:Chuck a rock at him

color C

cls

echo As you chuck the rock at him, you terribly miss

echo and it bounces back against a wall and knocks you out.

pause

goto NEXTLEVEL

:Start spitting fire bars at him

color C

cls

echo As you start spitting bars, you realize that Dylan has already

echo reloaded more bullets into his gun. He shoots.

pause

goto NEXTLEVEL

:FLEX

color A

cls

echo As you flex your muscles, Dylan is intimidated by you

echo and runs away.

pause

goto ENDGAME




:ENDGAME

cls

echo YOU'VE SLAIN GRANDBOSS DYLAN. CONGRATS!

pause




echo HOW DO YOU FEEL?

set /p feel=

echo Oh so you feel %feel% ???

pause




echo Well I feel %feel% too!

set /p thankyou=

echo Thank you %name% for playing!!!

pause

exit
avatar
CCSDylan
Admin

Posts : 19
CCS Points : 925
Join date : 2015-11-02
Age : 19

View user profile

Back to top Go down

Re: Codes for CMD

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum