1.
>new>name>open notepad
here is a 2 codes
__________________________________________________________________________________
@echo off
:menu
cls
echo Hello, welcome to My Game !
echo what would you like to do?
echo 1) start
echo 2) instructions
echo 3) exit
set /p letter=
if %letter% == 1 goto startgame
if %letter% == 2 goto instruction
if %letter% == 3 goto exit
goto menu
:startgame
cls
echo level 1
echo Hello! enter your name:
set /p name=
echo hello, %name%!
echo How are you?
set /p lala=
echo You are feeling %lala%?
echo that's nice.
pause
echo I should go now.
echo Bye %name%!!!
echo next level? (yes or no)
set /p wala=
if %wala% == yes goto lvl2
if %wala% == no goto menu
goto startgame
:exit
exit
goto exit
:lvl2
cls
echo Hello! Your name is %name%? yes or no
set /p yn=
if %yn% == yes goto cool
if %yn% == no goto aaw
goto lvl2
:cool
echo Yay! i got it right!
echo Back? (y/n) lower case only!
set /p ynny=
if %ynny% == y goto menu
if %ynny% == n goto exit
goto cool
:instruction
echo answer the computer and the computer will
echo talk to you.
echo back? (y/n) lower case only!
set /p nyyn=
if %nyyn% == y goto menu
if %nyyn% == n goto exit
goto instruction
:aaw
echo that's too bad.
echo bye!
pause
exit
goto aaw
________________________________________________________________________
@echo off
cls
echo LOADING GAME
ping localhost -n 5 >nul
cls
color 0a
:loop
:menu
cls
echo Hello and welcome to the game.
echo you get to...
echo 1) start
echo 2) Info
echo 3) Exit :(
set /p number=
if not defined number (
cls
goto loop
)
if %number% == 1 goto game
if %number% == 2 goto info
if %number% == 3 exit
:game
cls
echo Who are you?
set /p name=
echo hello %name%!
echo Do you went to start the quiz? (y/n)
set /p start=
if %start% == y goto lvll
if %start% == Y goto lvll
if %start% == n goto menu
if %start% == N goto menu
goto startgame
:info
cls
echo Press your desired button and press enter to continue to where ever you are going.
echo.
echo Go back? (y/n)
set /p help=
if %help% == y goto menu
if %help% == Y goto menu
if %help% == n goto info
if %help% == N goto info
goto info
__________________________________________________________________________________
save as .bat
that it bye
codes
Thursday, July 17, 2014
10sectimer for notepads
after
>new>notepad>name
ok here is a code
code:
@echo off
echo 10
ping localhost -n 2 >nul
cls
echo 10
ping localhost -n 2 >nul
cls
echo 10
ping localhost -n 2 >nul
cls
@echo off
echo 10
ping localhost -n 2 >nul
cls
@echo off
echo 10
ping localhost -n 2 >nul
cls
@echo off
echo 10
ping localhost -n 2 >nul
cls
@echo off
echo 10
ping localhost -n 2 >nul
cls
echo 10
ping localhost -n 2 >nul
cls
echo 10
ping localhost -n 2 >nul
cls
echo 10
ping localhost -n 2 >nul
cls
echo Times UP!!!
pause
save as .bat
Subscribe to:
Posts (Atom)