@ echo off

color 0a

mode 1000

pause

:create

echo REGISTRATION

echo --

echo Please create an account !

echo --

set / p Name=Username :

set / p Password=Password :

if % Name % ==CEO goto createerror

goto login

:createerror

echo The username % Name % was already taken !

pause

goto create

:login

echo --

echo LOGIN

echo --

echo Please log - in

echo --

set / p User=Username :

set / p Pass=Password :

if % User % ==CEO if % Pass % ==Freddy goto AdminBegin

if % Password % == % Pass % if % Name % == % User % goto Begin

echo Incorrect username and / or password !

pause

goto login

:begin

echo --

echo Hello user % User % , welcome to the Fazbear Entertainment console !

echo The date is % date % , and the current time is % time %

echo The password "%pass%" has been saved in the password database.

goto start

:adminbegin

color 0b

echo --

echo Admin user detected ! Entering admin mode !

echo --

echo Hello user % User % , welcome to the Fazbear Entertainment console !

echo The date is % date % , and the current time is % time %

echo The password "%pass%" has been saved in the password database.

goto start

:start

pause

echo --

echo Please type in a page to go there ! ( CaSe SeNsItIvE )

echo --

echo Pages :

echo Cams

echo Password_Database

echo Anti_Virus

echo Restart

echo Logoff

echo Exit

set / p Input=Page :

if % input % ==Cams goto cams

if % input % ==Password_Database goto admincheck

if % input % ==Anti_Virus goto virus

if % input % ==Restart goto begin

if % input % ==Logoff goto login

if % input % == Exit quit

echo Page % input % was not found ! Please try again !

goto start

:cams

pause

echo --

echo Please select a camera... ( CaSe SeNsItIvE )

echo --

echo Cams :

echo Show_Stage

echo Dining_Area

echo Pirate_Cove

echo Back_Stage

echo Toilets

echo West_Hall

echo East_Hall

echo Supply_Closet

echo Kitchen

echo ( To exit , type "Exit" )

set / p Cam=Cam :

if % cam % ==Show_Stage goto freddy

if % cam % ==Dining_Area goto none

if % cam % ==Pirate_Cove goto foxy

if % cam % ==Back_Stage goto bonnie

if % cam % ==Toilets goto none

if % cam % ==West_Hall goto none

if % cam % ==East_Hall goto chica

if % cam % ==Supply_Closet goto none

if % cam % ==Kitchen goto error

if % cam % == Exit goto start

echo % cam % was not found ! Please try again !

goto cams

:freddy

echo --

echo Animatronics found in % cam % : Freddy

goto cams

:bonnie

echo --

echo Animatronics found in % cam % : Bonnie

goto cams

:chica

echo --

echo Animatronics found in % cam % : Chica

goto cams

:foxy

echo --

echo Animatronics found in % cam % : Foxy

goto cams

:error

echo --

echo Animatronics found in % cam % : ERROR!

goto cams

:none

echo --

echo Animatronics found in % cam % : none

goto cams

:admincheck

if % user % ==CEO goto passwords

echo You are not an admin user, you may not use this feature.

goto start

:passwords

echo --

echo Username - Password

echo % Name % - % Password %

echo CEO - Freddy

echo --

goto start

:virus

color 0c

echo Scanning file :%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%.bat