PyChat - Easy to use chatroom
My first repl.it post. Wow!
Well, this is PyChat. It is a very simple chatroom that has logins, multiple pages, and saving messages!
How to use
- Start the script.
- Type 2 to sign-up
- Choose a username and password
- Type 1 for login
- Type your username and password
- Chat!
- UPVOTE PLEASE
Notes
- This was from a chatroom template by @JBloves27 (sorry for ping, but I wanted to give you credit) and I spiced it up a bit!
- Don't share your login. Other people can then login as you.
- If you want semi-fullscreen, click here
Future Updates
- More colors!
- Better look
Credits
- JBloves27 for template
- @Thecrowbar1234 for his post on Python colors (again, sorry for ping but I wanted to give you credit plus it helped a lot)
Good luck, and happy chatting :)
haven't tried it but from the txt file I think it is good
how does dis work? LUL
@VishnuKappagant When it asks it for your message it writes it to a .txt file then prints it along with all the other messages.
noone is online
Nice
Nice Project
File "main.py", line 1
wimport os, time
^
SyntaxError: invalid syntax
@Textcrafter101 thats all that i get
@Textcrafter101 oops sorry! I will fix that
only if anyone was online
print('\033[1;31;20mThat username has already been taken.\033[0;37;20m')
never appears, i can change anyones pasword by registering w/ their username and new password, here is a fix: https://www.toptal.com/developers/hastebin/fawofocata.php
does with open and file = open make a differnece
@DeadWither I can't really tell what you are asking, but if it is what I think it is - Yes, because you have to define what file you want the program to write to. It's like opening a document with a text editor, writing a file, then closing the window.
Love it! A super cool game!!!!!!!!!!
this is awesome! is it ok to copy the code and use it personaly?
@winnerwannabe2 Sure! Make sure to give me credit, though.
Hey, I can hack this! I can basically go to anyone's login. Everyone's password can be seen by me! The database is weak. If you don't believe me, make an user account and tell me your username! I will tell your password!
@DeadWither I can also change your password or delete your account!
@DeadWither Gee, thanks for telling everyone and ruining the whole point of the project.
@DeadWither did u jus self-ping
good job!!
Thank you, @LegendaryAlpha!
Nicee! Np, thanks for mention!
@JBloves27 Thanks! I'm glad you like it.
:D @ParrotDev