Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- goto mainmenu
- :error
- title error
- color 1c
- mode 100
- echo.
- echo WARNING
- echo this is an error, see code to fix this!.
- echo WARNING
- echo.
- pause
- cls
- echo WARNING
- echo by pressing any key you are termanating this window!.
- echo WARNING
- echo.
- pause >nul
- exit
- :mainmenu
- cls
- title main
- color 0f
- echo Choose a name!
- set /p name=
- if %name% == admin goto admin
- goto name2
- :name2
- cls
- title keepname
- color 0f
- echo do you wish to keep the the name %name%? (y/n)?
- set /p yn=
- if %yn% == y goto menu
- if %yn% == n goto mainmenu
- gotomenu
- :error
- title error
- color 1c
- mode 100
- echo.
- echo WARNING
- echo this is an error, see code to fix this!.
- echo WARNING
- echo.
- pause
- cls
- echo WARNING
- echo by pressing any key you are termanating this window!.
- echo WARNING
- echo.
- pause >nul
- exit
- :menu
- cls
- title menu
- color 0f
- echo 1, Start
- echo.
- echo.
- echo 2, Info
- echo.
- echo.
- echo 3, Exit
- echo.
- echo.
- echo.
- set /p mainmenuchoice=
- if %mainmenuchoice% == 1 goto start
- if %mainmenuchoice% == 2 goto info
- if %mainmenuchoice% == 3 exit
- :error
- title error
- color 1c
- mode 100
- echo.
- echo WARNING
- echo this is an error, see code to fix this!.
- echo WARNING
- echo.
- pause
- cls
- echo WARNING
- echo by pressing any key you are termanating this window!.
- echo WARNING
- echo.
- pause >nul
- exit
- :info
- title info
- echo WARNING
- echo Creators should only upload videos that
- echo they're authorized to use. That means
- echo they should not upload videos they didn't make, or use
- echo content in their videos that someone else owns the
- echo copyright to, such as music tracks, snippets of
- echo copyrighted programs, or videos made by other users,
- echo without necessary authorizations.
- echo if you choose to use this code we will alert the authorities,
- echo if you do not claim as your own you are permitted to play this code.
- echo WARNING
- echo Do you still wish to continue?
- pause >nul
- goto menu
- :start
- title start
- color 0f
- echo.
- echo.
- echo 1, Game 1.
- echo 2. Game 2.
- echo 3, Game 3.
- echo.
- echo.
- set /p game=
- if %game% == 1 goto game1
- if %game% == 2 goto game2
- if %game% == 3 goto game3
- :error
- title error
- color 1c
- mode 100
- echo.
- echo WARNING
- echo this is an error, see code to fix this!.
- echo WARNING
- echo.
- pause
- cls
- echo WARNING
- echo by pressing any key you are termanating this window!.
- echo WARNING
- echo.
- pause >nul
- exit
- :game1
- title game1
- color 0c
- echo Weclome %name%!
- echo This will teach you about coding!
- echo i will show you how this is made
- echo the way this works is i type out
- pause >nul
- echo echo this will teach you about coding
- echo and then it shows you what it says like
- pause >nul
- echo this will teach you about coding
- pause >nul
- echo see that was simple
- echo but thats not all to it
- echo if i was to just type echo hi
- echo then nothing would happen even if it was saved as a .bat and runed it
- echo because the window would automaticly close
- echo when the script has no task left the window will close
- echo.
- pause
- echo if you type out just "pause" then the computer will wait for you to continue then close
- echo this brings me to script order
- echo if you type out "pause"
- echo "echo HI"
- pause
- echo you will not be able to see the echo due to coding order
- pause
- echo because you will not see the echo before the echo
- echo ill explain now ill type out pause then echo
- pause
- echo test
- pause
- echo you see the echo measage was after you undone the pause
- but now ill type out echo pause
- echo.
- cls
- echo test
- pause
- echo see how well that worked out now that you know how coding order works ill explain memery
- echo if you know atleast a little bit of coding lists you know that list work like this
- echo you write the name of the list than you add a memeory or add a user input
- echo then that data gets called later like your name %name% that was called from erlier when you typed it out
- echo you should understand coding order and coding memory now lets learn if statements
- echo if statements are if im hungry ill eat breakfast if not ill go to work
- echo that a if statement
- pause
- cls
- echo like this the code gets a user input "set /p name=" and then its a if staement from there
- echo like this "if %name% == 1 do blah, blah"
- echo thats a if statement
- echo and then there content list like this "mainmenu" ":game"
- echo but what do these do you ask?
- echo they are for transporting a user like this
- pause
- cls
- echo.
- echo "goto game or goto mainmenu"
- echo that makes it so that if im at the end of my code i can make the user go back to-
- echo the main menu
- echo.
- pause
- cls
- echo now you know content lists let me teach you some tips "@echo off" means that you will see the main code not the executed part what is-
- echo that you get the cleaner version instead of the dirty version
- echo.
- pause
- cls
- echo let me show you what im mean im going to do @echo on
- @echo on
- cls
- pause
- echo this is with @echo on
- pause
- cls
- @echo off
- echo.
- echo @echo off is used in almost maybe all codes including python c++ C and javascript
- echo and most coding languages
- echo but coding like binary you need @echo on because coding like binary is alot more complex
- pause
- cls
- echo now lets move onto pause >nul
- cls
- echo this is pause >nul you can basicly change the measge displayed with pause >nul
- pause >nul
- echo.
- echo.
- cls
- :yynn
- cls
- echo now lets move onto (y/n?)
- echo (y/n?) qoutes are used in most codes ill let you see one now
- echo do you wish to continue with this tutorial (y/n?)
- echo --------
- set /p yn1=
- if %yn1% == y goto g1p2
- if %yn1% == n goto menu
- goto yynn
- :g1p2
- cls
- echo that's a (y/n?) statement
- echo thats really all i know you can try this code now by useing the code in this and saving it in notepad as a .bat file
- pause
- echo and there is many guides out there for codeing but for now
- echo do you wish to Go to the main menu (y/n?)
- echo --------
- set /p yn2=
- if %yn2% == y goto menu
- if %yn2% == n Exit
- if %yn2% == goto yynn
- goto g1p2
- :error
- title error
- color 1c
- mode 100
- echo.
- echo WARNING
- echo this is an error, see code to fix this!.
- echo WARNING
- echo.
- pause
- cls
- echo WARNING
- echo by pressing any key you are termanating this window!.
- echo WARNING
- echo.
- pause >nul
- exit
- :game2
- title game2
- color 0c
- echo Weclcome %name%! to game2 in this you will do some code
- echo if you have not Please play game1 to understand
- pause
- cls
- echo.
- echo.
- echo so lets begin lets start with a short echo command so to do this just type the text you want and the computer will add echo
- pause
- cls
- echo what i mean is don't type echo hi just type hi or whatever text you want
- pause
- cls
- echo go ahead and type it now
- set /p echo=
- ping localhost -n 3
- color 0c
- echo -complete-
- pause
- cls
- echo now click any button to see your echo command
- pause
- cls
- echo %echo%
- echo -----------------------------------------------------
- echo.
- echo.
- echo that is yor echo command press any key to continue
- pause >nul
- cls
- echo well that was a rather easy command
- echo but now it gets harder for me and you
- pause
- cls
- echo now you have to type the full command
- echo instead of just typing the text
- pause
- cls
- echo so go ahead type out a raw command
- set /p command1=
- cls
- %command1%
- pause >nul
- echo well that was a bit harder
- pause
- cls
- echo well now ill give you a little bit more code to play around with
- pause
- cls
- echo this will be very hard
- pause
- echo go ahead and type the code now
- pause >nul
- cls
- echo DISCLAMER
- echo this codeing software cant use goto statements for some odd reason
- echo DISCLAMER
- timeout 5
- goto maincode
- :maincode
- title maincode
- color 2
- set /p command1=
- set /p command2=
- set /p command3=
- set /p command4=
- set /p command5=
- set /p command6=
- set /p command7=
- set /p command8=
- set /p command9=
- set /p command10=
- set /p command11=
- set /p command12=
- set /p command13=
- set /p command14=
- set /p command15=
- set /p command16=
- set /p command17=
- set /p command18=
- set /p command19=
- set /p command20=
- echo that's the max amount of code you can type bc im lazy
- echo press any key to see your code in order
- pause >nul
- %command1%
- %command2%
- %command3%
- %command4%
- %command5%
- %command6%
- %command7%
- %command8%
- %command9%
- %command10%
- %command11%
- %command12%
- %command13%
- %command14%
- %command15%
- %command16%
- %command17%
- %command18%
- %command19%
- %command20%
- echo well i cant tell you how good that code is but you did good i guess practice this then use
- echo the notepad for unlinited code writing
- echo this is only your practice
- Dou you want to return to the menu? (y/n?)
- set /p yn
- if %yn% == y goto menu
- if %yn% == n exit
- :error
- title error
- color 1c
- mode 100
- echo.
- echo WARNING
- echo this is an error, see code to fix this!.
- echo WARNING
- echo.
- pause
- cls
- echo WARNING
- echo by pressing any key you are termanating this window!.
- echo WARNING
- echo.
- pause >nul
- exit
- :game3
- echo Welcome to game3!
- echo if you haven't played game1 and game2 you should, they teach you about coding.
- pause >nul
- cls
- pause >nul
- echo this is just a random game, so yea.
- pause >nul
- cls
- echo enter a user name
- set /p name=
- echo now enter a age
- set /p age=
- echo Hi %name%! you are %age%! years old
- pause >nul
- echo but that does not matter
- pause >nul
- echo what does matter is you playing the game so play the game now
- pause >nul
- echo so press any key to play
- pause >nul
- echo YOU PRESSED SOMETHING I WS NOT READY %name%
- pause >nul
- cls
- echo whatever you clicked play so give me an minute to prepare the game
- echo Loading 10%
- timeout 5
- cls
- echo Loading 20%
- timeout 5
- cls
- echo Loading 30%
- timeout 5
- cls
- echo Loading 40%
- timeout 5
- cls
- echo Loading 50%
- timeout 5
- cls
- echo Loading 60%
- timeout 5
- cls
- echo Loading 70%
- timeout 6
- cls
- echo Loading 80%
- timeout 7
- cls
- echo Loading 90%
- timeout 10
- cls
- echo -complete-
- pause >nul
- goto game3start
- :game3start
- title game3
- color 0f
- echo Welcome!
- echo put your math problem below!
- echo.
- echo --------------------------------------------------------------
- echo.
- set /p sum=
- set /a ans=%sum%
- echo.
- echo = %ans%
- echo --------------------------------------------------------------
- pause
- cls
- echo Previous Answer: %ans%
- echo do you wish to go back to menu? (y/n)
- set /p yn=
- if %yn% == y goto menu
- if %yn% == n exit
- :error
- title error
- color 1c
- mode 100
- echo.
- echo WARNING
- echo this is an error, see code to fix this!.
- echo WARNING
- echo.
- pause
- cls
- echo WARNING
- echo by pressing any key you are termanating this window!.
- echo WARNING
- echo.
- pause >nul
- exit
- :admin
- cls
- echo this is for admins if you are not admin close this window NOW!!!!!!!!
- echo press any key to start
- echo ______________________
- pause >nul
- color 0c
- mode 1000
- :matrix
- echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%
- goto matrix
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement