Introduction: 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

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

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

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

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

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

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

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

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:

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!

Comments

author
ɅܠΞܛ (author)2017-04-18

Is there a way to download this?

author
LoLeRi 2 (author)2017-03-19

OMG COMPLICATED :D

author
sans_ (author)2016-12-12

people you cant actualy send messages this was made for fun!

author
001DeLeon (author)2016-06-04

Now this is funny... Your dumb password is 1234, it says it in the code.... I am a coder... Witch means you can't trick me... And , this code don't even work...

author
sans_ (author)001DeLeon2016-12-12

first of all, I don't think it's supposed to work and I dont think it was trying to trick you can't make a real chat room that works with notepad :/

author
jordang29 (author)2016-04-15

how do you find the password

author
jordang29 (author)jordang292016-04-15

never mind done it

author
LoganR25 (author)jordang292016-10-18

lol

author
jackieo4 (author)2015-11-02

i guess im a hacker because i looked at his/her code and saw the password.

author
shotgunshane (author)jackieo42015-11-02

yes you are now a real life hacker, you can now apply for a hacking license.

author
Robbstarr06 (author)shotgunshane2016-04-05

hi, how do you run this code?

author
LoganR25 (author)Robbstarr062016-10-18

lol

author
LoganR25 (author)shotgunshane2016-10-18

just stop!

author
ShreyanshP1 (author)shotgunshane2016-05-12

?????very nice **** !!!

author
ShreyanshP1 (author)ShreyanshP12016-05-12

****means joke

author
Robbstarr06 (author)shotgunshane2016-04-05

hi, how do you run this code?

author
Robbstarr06 (author)shotgunshane2016-04-05

hi, how do you run this code?

author
Robbstarr06 (author)shotgunshane2016-04-05

hi, how do you run this code?

author
Endgam3 (author)jackieo42016-04-01

What's the pw? I can't tell which part of it is.

author
RodflopC (author)2016-05-29

what is the password?

author
LoganR25 (author)RodflopC2016-10-18

lol its 1234

author
maizpotter (author)2016-08-05

I am new

how do you add people to group or join them or invite them?

author
AndreasJ17 (author)2016-07-11

the code is 1234

author
SangeetaG1 (author)2016-07-03

it does not works in windows 10 ? please suggest how to use it in windows 10

author
monty15 (author)2016-06-13

hi I tried his on my laptop and it told me " 'msg' is not recognised as an internal or external command, operable program or batch file " What have I done ?

author
SimonN20 (author)2016-05-12

How do i connect this to another computer? it keeps failing past the messenger user: input screen.

author
xswagprincezzX (author)2016-04-29

i need help

author
xswagprincezzX (author)2016-04-29

i need help

author
xswagprincezzX (author)2016-04-29

i need help

author
xswagprincezzX (author)2016-04-29

i need help

author
xswagprincezzX (author)2016-04-29

i need help

author
angusrh (author)2016-04-08

How do I add this code to a website.

author
Robbstarr06 (author)2016-04-05

hi everyone :) please help me figure out programming with notepad. If you know anything about programming with notepad, please email me at mrexplodedcreeper@gmail.com

thanks,

-Robbstarr06

author
Chat4 (author)2016-02-05

Hello Dear I Am Beginner and New in Webs World Can you Please Tell Me How can i Add This One to My Blogger Web? its Chat4enjoy Owner Here

http://www.chat4enjoy.com/p/chat.html

author
TaylorL2 (author)2016-01-03

To bring with code up to date windows now uses msg.exe not netsend

so change:

net send %n% %m% 2>nul||echo Your message did not go through && pause

to:
msg * /server:%n% %m%

and you will need remoterpc enabled so here is a .reg file content to enable that

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]

"AllowRemoteRPC"=dword:00000001

msg.exe doesnt handle errors very well so it wont do the pipe and error report

author
Rebecca34 (author)2015-11-15

my husband had been cheating on me for 5 years with a female colleague in his office,Thank God for almightyhacker who helped me in exposing his dirty deed through text and face-book on his iPhone 6.you are a genius.get in touch with him on almightyhacker777@ gmail. com .tell him Rebecca referred u.massage his pride bcos he got some.i bet
you'll thank me later

author
vineet1234567890 (author)2015-01-18

hey shotgunshane!
i went through the tutorial...i wrote the code....then rechecked with ur code...but for some reason m having the same problem as fudge26...i also checked and disabled the firewall on both computers but it yet does not work!please help

author

This is something called Net Send. It is only on Windows XP and older versions of Windows. Windows 7 and above won't work. It has nothing to do with your firewall. I hope this helped you understand why it isn't working. :)

author
Fudge26 (author)vineet12345678902015-01-25

If your running anything above windows vister than the code wont work because the program the code calls to send your message uses net send command which is not supported in windows vister and above. If you use the msg command(Will need to check sytax) it should work since that is what microsoft replaced the netsend command with

author
albertn3 (author)2015-05-12

author
johnc47 (author)2015-04-29

where do i find the IP adress to send a message to someone else and what do i do after i find that....email me at jjr43991@gmail.com

author
coolguy1745 (author)2015-04-25

Nice, but "net send" was a thing back in Windows 2000 to Windows XP. Now that it's removed, what are we supposed to do?

author
NoahH1 (author)2015-04-07

This would not work Either way.

1) You have to enable the 'services' as Admin

2) You have the code rigged so it says that it could not he sent!

net send %n% %m% 2>nul||echo Your message did not go through && pause

where it has a '>' symbol that means to not run the command but put it in a file and you told it to put it some ware+ you Told it to say it did not send

3) This seems to be a joke/prank to every one!

author
shotgunshane (author)NoahH12015-04-07

And the code is not rigged to not send, the > does not tell the computer to not run the command you are incorrect.

author
shotgunshane (author)NoahH12015-04-07

This actually used to work on older versions of windows, however many of the arguments have seemed to have lossed support in versions of windows above seven. It is not a joke or a prank

author
Gouanaco. (author)2015-03-05

This wont work on pretty much most school networks. Net Send is a old XP command that doesn't work on Windows 7 and above. Also most school networks block remote connections.

There is another way. I have done it myself. Me and my friends chat during class its funny as XD. But netsend doesn't work. If anyone wants to know how i did it, flick me a reply here. Its mainly todo with school shared drives and txt files :)

~ Gouanaco

author
ShaneS6 (author)Gouanaco.2015-03-18

Please tell us how!!!

author
Gouanaco. (author)ShaneS62015-03-23

Ok ShaneS6

Ill tell you how :)

I coulnd't type all of my comment on here. But here is a link to my shared drive.

https://drive.google.com/folderview?id=0B-AxBgQHLsQVfkI5MDZEeFVfc3ZXZUlPTGRjdXdkOXlGVGdJWVF4anZ5c2d1SHpvckNiQ2s&usp=sharing

The readme tells you everything you need to know plus the v5 folder will have everything you need :D

Feel free to ask any questions.

author
ShaneS6 (author)Gouanaco.2015-03-25

Well crap, we each have individual network drives, no shared.

author
Gouanaco. (author)ShaneS62015-03-26

Eh, badluck. You can't do much with individual network drives unless!

You find out the network name and password for the drives. Your gonna have to google how to do that though, its different for each windows version.

Windows 7 i think is you have to connect to a shared folder that is also hidden on the network. But you need to know the password, and what the actual folder is called :/

Mine is something like firstname.lastname.MH78HGD8G2(random numbers and chars)@domainname

so its annoying to find lol.

But goodluck :)

About This Instructable

215,163views

58favorites

License:

Bio: Hey, I an average person, I have many interest including electronics, music, design and architecture. I also enjoy skateboarding in my free time when I ... More »
More by shotgunshane:Star Wars Tatooine Hut Movie FortIphone "Backpack" 3d money clip$2 Nerdy Clear Cirucit Bracelet
Add instructable to: