How to make a Chat Room (With Notepad)
This Instructable shows you how to make a Chat Room with the free windows application called Notepad. This program was not copied and pasted, it was made from scratch, you can copy and paste it (If you do not want to learn the code). What did I make? I made a chat room with notepad, I just used my computer. How did I make it? l read a few tutorials, and over time I built up knowledge on how to create multiple different operable batch files. I made this all by my self (with a little help from "Prof. Pickle"), the "plans" are always changing I keep adding more pieces to it. that is what I love about programming, you can just keep changing it and evolving it. Where did you make this? I made this at my house. (I did not want to have to buy any new computers, I did not have to at home). What did you learn? ?I learned more codes and commands, I am developing and advancing in my hobby. I am just proud of the fact that i made this all by myself, and that it is so big of a code (i know it is not that big, I just want to think it is). if I was to do it "again," I would add effect to make the background and text more attractive. For the chat room to work you must know the IP address of the persons computer that you want to send the message to. This chat room is password protected, and if a hacker tries to hack it it jokes around with them. Enough of this, lets get on to the code.

Step 1: THE TOTAL CODE

How to make a Chat Room (With Notepad)
Here is All of the code in one big list. Copy just the code (everything between the hash tags #). After copying everything here paste it in to a blank notepad file. save it as a bat file (Messenger.bat). See the last step for additional help saving.

#####################################################################################################
@echo off
Title Superman's Chat Room
color 0e
:top
echo ===Superman's Chat Room===
ECHO 1 - access chat room via password
ECHO 2 - access for Hackers
ECHO 3 - get into the chat room without password
ECHO 4 - Exit
SET /P OPT=Please make a selection, and press enter:
if %OPT%==1 GOTO OPTION1
if %OPT%==2 GOTO OPTION2
if %OPT%==3 GOTO OPTION3
if %opt%==4 GOTO OPTION4
:OPTION1
GOTO PASS
ECHO Redirect to Password input
:OPTION2
ECHO Redirect for Hackers
ping -n 2 127.0.0.1>nul
color c
echo ==============================================================================
echo Come on I know you are better than that, come on your a hacker crack the code!
echo ==============================================================================
ping -n 2 127.0.0.1>nul
echo ACCESS DENIED
pause
exit
:OPTION3
echo Free Access
color c
ping -n 2 127.0.0.1>nul
echo ================================================================
ECHO Do you think I would actually let you get in without a password?
echo ================================================================
ping -n 2 127.0.0.1>nul
echo ACCESS DENIED
pause
Exit
:OPTION4
echo Are you sure you want exit?
echo Y/N
echo type "Y" or "N"
set input=
set /p input=
if %input%== y goto y
if %input%== n goto n
:y
echo yes
pause
exit
:n
echo no
echo redirect to menu
ping -n 2 127.0.0.1>nul
CLS
goto top
:PASS
ECHO Enter the correct CORRECT password
set /p pass=password:
if %pass%==1234 goto Access Granted
Cls
COLOR C
echo.
echo ACCESS DENIED
ping -n 2 127.0.0.1>nul
EXIT
cls
goto pass
:Access Granted
color a
echo Access Granted, Welcome.
pause
color a
echo Instructions: Type the Ip address of the person you want to talk to enter the chat room,
echo type it after "MESSENGER" after you enter the chat room.
pause
echo For "experienced" users hold the down the down arrow until you reach the Chat Room.
echo if you are not farmiliar with "Superman's Chat Room" than press any key once for the instructions.
Pause
echo Step 1) To find your IP addres open up command prompt in the Start Menu for windows users.
Pause
echo Step 2) Type "ipconfig" as soon as it opens.
Pause
echo Step 3) Record the IP address, and type it after the word "messenger"
Pause
echo Step 4) Begin chat room use
Cls
color c
pause
echo this code was created by Superman
pause
Cls
echo !!! Warning! this code was not created nor intended for illegal use!!!
echo This is your last chance to close this program or you will be entering the chat room!
pause
Cls
echo Entering Chat Room
pause
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m% 2>nul||echo Your message did not go through && pause
Pause
Goto A
#####################################################################################################
Yes, I know it is a fair sized amount of code.

Step 2: THE CODE BROKEN IN TO PARTS

How to make a Chat Room (With Notepad)
In the following steps I will break down the code into its "blocks"
the code is made of 5 different pieces witch i like to call "Blocks." The pieces are: the title and menu, the menus options, the password input, the instructions, the warnings, and of course the messenger itself. We will explain the title and menu first.

Step 3: THE TITLE AND MENU

How to make a Chat Room (With Notepad)
The picture shows what each thing is for/does. The title names it (obviously) the menu help prevent hackers and nosy people out of your chat room. Only one of the options will get you to the log in

Step 4: PASSWORD INPUT

How to make a Chat Room (With Notepad)
The picture shows what each thing is for/does. the password protects it from people that do not know how to edit code or people who have bad vision,(it is very hard to spot a few letters in a lot of lines of data) The password may be changed, from the list it is 1234, after you find this backspace it (but not the code) and type in your password, it can be as long as you would like.

Step 5: THE INSTRUCTIONS

How to make a Chat Room (With Notepad)
The picture shows what each thing is for/does. The instructions are petty easy to follow but you can edit them if you want to. the instructions tell you how to find your IP and how to input it.

Step 6: THE WARNINGS

How to make a Chat Room (With Notepad)
The picture shows what each thing is for/does. The warning I put on here are pointless, unless you want it to look cool, you can delete these very easily if you do not like pushing two more buttons.

Step 7: THE MESSENGER BLOCK

How to make a Chat Room (With Notepad)
This is the messenger of the program, it sends and receives the messages, without this there is no point to this program. Indeed you could dissect the code of any part and use it for other purposes.

Step 8: SAVING

How to make a Chat Room (With Notepad)
How to make a Chat Room (With Notepad)
This is how you save your batch file. click "file," "save as," next, type in the file name of your choice then immediately after the name (no spaces) type ".bat" then click save. An example "Myprogram.bat" (see photos)

Step 9:

How to make a Chat Room (With Notepad)
You are done! I am not responsible at all for what you do with this!? Now you can say that you made your own program!
 
 

Tag cloud

make build easy simple arduino making homemade solar laser printed portable cheap mini building custom cardboard wooden create super lego turn paracord chocolate your paper light intel