I thought I'd make a chatbot! This one recognizes over 150 statements and questions! :D I HAVE BEEN INSPIRED BY THIS GUY. https://scratch.mit.edu/users/glamr0ckfr3dddy/ If an answer didn't make sense, or there is a question you would like it to answer that it currently does not, comment it and I will try to add it! :) HOW IT WORKS: First, the text is broken into letters in a list, and the punctuation and spaces are deleted. It also looks for question marks to see if it is a question. Then the letters are made back into words. This means I can use the "list contains" thing to check to see if an answer contains a word. Next, it finds out whether you were talking about yourself, you, or something else. Then it searches for typical sentence starters and answers based on that. If it doesn't know the answer, it looks for certain words and then gives a random answer. It says a general statement if it has no idea what was said.
HOW TO TALK TO CODERKING111: Press space to say something. NEVER use contractions (what's, don't, etc.). Use the full form instead (what is, do not, etc.). ALWAYS use a ? when asking a question. That's all! Enjoy! :) UPDATES: - Added a few things - Added "Give me a hug." and "How many questions have I asked?" - Added, "What is my name?" - Added, "Who is Cubot?" - Stopped coderking111 from hiding occasionally. - Added "Good job" and "Great job". - Added "How many ___ until Christmas?" and "What time is it?" - Added "I do not like you" and "How much/many..." - Added "Are you stupid?" - Added "Do you feel __?", "What are you?", "What do you do when ___?" and "I am a ___."