Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- goto home
- :AdminChat
- cls
- color 3
- echo =====================================================
- echo [] 0000 0 0 00000 00000 0000 00000 []
- echo [] 0 0 0 0 0 0 0 0 0 0 []
- echo [] 0 0000 00000 0 0 0 0 []
- echo [] 0 0 0 0 0 0 0 0 0 []
- echo [] 0000 0 0 0 0 0 00000 0 00000 []
- echo =============================================================
- echo [] {1}: Join Admin private chat [Password needed] []
- echo [] 2: Join public chat room [Open chat-No password needed] []
- echo [] 3: Credits []
- echo [] 4: Chat Admin application []
- echo =============================================================
- echo [] *!Admins!* Password is reset every Monday, Email []
- echo [] [email protected] for the new password. []
- echo =======================================================
- echo [] Admins: []
- echo [] Neil Acevedo []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo ==================
- echo [] Enter Pass []
- echo [] below []
- echo ==================
- set /p adminpassword=Password:
- if errorlevel equ thebulldogtheo goto AdminChatRoom
- cls
- :PublicChat
- cls
- color 1
- rem ###### TITLE SCREEN ############
- echo.
- echo Welcome to the chatroom!
- echo.
- echo Commands:
- echo type CLS to clear the chat log.
- echo type EXIT to quit the chat room.
- echo just hit enter to update screen.
- echo.
- set /p username=Display name:
- echo %username% has joined. >> log.dat
- cls
- goto CHATLOOP
- REM ############################
- REM ########## CHAT LOOP ##########
- set lastmessage=""
- :CHATLOOP
- cls
- type log.dat
- echo.
- echo.
- set /p message=Say:
- rem set message checker value
- set thismessage="%message%"
- rem check for exit
- if %thismessage% == "EXIT" echo %username% has left the chat room. >> log.dat
- if %thismessage% == "EXIT" exit
- rem -----------------
- rem check for clear
- if %thismessage% == "CLS" echo %username% has cleared the chat log. > log.dat
- if %thismessage% == "CLS" set message=Empty
- if %thismessage% == "CLS" set lastmessage="Empty"
- if %thismessage% == "CLS" goto CHATLOOP
- rem ------------------
- rem check for same message as last time
- if %thismessage% == %lastmessage% goto CHATLOOP
- rem if all checks out, go ahead and post this message
- echo %username%: %message% >> log.dat
- rem save value for next test
- set lastmessage="%message%"
- goto CHATLOOP
- REM ################################
- :Credits
- color 0e
- echo ==================
- echo [] Admins: []
- echo [] Neil Acevedo []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo ===================================
- echo [] Made by RavagingOS 1 man team []
- echo [] Thewindghost []
- echo [] []
- echo [] []
- echo [] []
- echo [] []
- echo [] []
- echo [] []
- echo ===================================
- echo [] Tap any key to leave to menu. []
- echo ===================================
- pause < nul
- cls
- goto home
- :AdminChatRoom
- :home
- color 0e
- echo =====================================================
- echo [] 0000 0 0 00000 00000 0000 00000 []
- echo [] 0 0 0 0 0 0 0 0 0 0 []
- echo [] 0 0000 00000 0 0 0 0 []
- echo [] 0 0 0 0 0 0 0 0 0 []
- echo [] 0000 0 0 0 0 0 00000 0 00000 []
- echo =============================================================
- echo [] 1: Join Admin private chat [Password needed] []
- echo [] 2: Join public chat room [Open chat-No password needed] []
- echo [] 3: Credits []
- echo [] 4: Chat Admin application []
- echo =============================================================
- echo [] Admins: []
- echo [] Neil Acevedo []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo [] {Un-Hired} []
- echo ==================
- echo [] Enter Input []
- echo [] below []
- echo ==================
- set /p optionmenu=Choice:
- if ERRORLEVEL == 1 goto AdminChat
- if ERRORLEVEL == 2 goto PublicChat
- if ERRORLEVEL == 3 goto Credits
- if ERRORLEVEL == 4 goto four
- cls
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement