Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- if not exist log.txt copy nul log.txt
- set name=guestnuc
- if exist config.bat call config.bat
- echo %date% %time% Login from %name%>> "log.txt"
- :home
- title Nuc Online
- mode 75,20
- @echo off
- color a
- cls
- echo Current path: home %date% %time%
- echo.
- echo Welcome, %name%
- echo.
- echo / / / / ///// ///// / / / ///// / / /////
- echo // / / / / / / // / / / // / /
- echo / / / / / / / / / / / / / / / / /////
- echo / // / / / / / / // / / / // /
- echo / / ///// ///// ///// / / ///// ///// / / /////
- echo.
- echo Wowie 5thousie! This message has been downloaded off the INTERNET!
- echo.
- :command
- set /p web=Command:
- if /i "%web%"=="art 1" goto 1
- if /i "%web%"=="art 2" goto 2
- if /i "%web%"=="art 3" goto 3
- if /i "%web%"=="re" goto getnews
- if /i "%web%"=="list" goto list
- if /i "%web%"=="list art" goto art
- if /i "%web%"=="exit" exit
- if /i "%web%"=="about" goto about
- if /i "%web%"=="nucname" goto NucName
- if /i "%web%"=="del config" del config.bat
- if /i "%web%"=="del config" echo Configure deleted
- if /i "%web%"=="del config" pause
- if /i "%web%"=="del config" goto home
- if /i "%web%"=="del log" del log.txt
- if /i "%web%"=="del log" echo Log deleted
- if /i "%web%"=="del log" pause
- if /i "%web%"=="del log" goto home
- if /i "%web%"=="del config" del config.bat
- echo Enter command! (sans case-sensitive)
- echo Type "list" to show all commands
- pause
- goto home
- :art
- color
- cls
- echo Current path: home / articles
- echo.
- echo Articles: (from here, you can only type the number of the article,
- echo or anything else to go back)
- echo.
- echo 1: Article 1
- echo 2: article 2 name
- echo etc.
- set /p web=Command:
- if /i "%web%"=="1" goto 1
- if /i "%web%"=="2" goto 2
- goto home
- :1
- cls
- echo ___________________________________________________________________________
- echo.
- echo Article 1. Page 1/1
- echo ___________________________________________________________________________
- echo.
- echo This article has not been written yet.
- pause
- goto home
- :2
- cls
- echo article 2 placeholder
- pause
- goto home
- :getnews
- getnews.bat
- :about
- cls
- echo about stuff
- pause
- goto home
- :NucName
- cls
- echo Create your name that you will be refered to as.
- echo Try to keep it less than 20 characters, as more can make stuff look bad.
- if /i "%name%"=="guestnuc" goto nucname2
- if exist config.bat set /p web=Do you want to clear your NucName (y/n)?:
- if /i "%web%"=="y" echo set name=guestnuc>> config.bat
- if /i "%web%"=="y" set name=guestnuc
- :nucname2
- set /p logyn=Make a NucName (y/n)?:
- if /i "%logyn%"=="y" goto nucname3
- goto home
- :nucname3
- set /p name=Enter a NucName:
- echo set name=%name%>> config.bat
- echo %date% %time% NucName changed>> log.txt
- echo Now: %name%>> log.txt
- set name=%name%
- echo Name set!
- pause
- goto home
- :game
- echo ___________________________________________________________________________
- echo.
- echo
- :list
- cls
- echo Current path: home / list
- echo.
- echo List of all commands: (some commands will not work outside home)
- echo NucName - opens NucName menu
- echo about - displays the about page
- echo art # - load article
- echo del log - deletes the entire log
- echo del config - deletes config info
- echo list - displays this list
- echo list art - shows a list of the current article titles
- echo re - reloads
- echo exit - exits the program entirely
- echo.
- goto command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement