This is my first chatbot and I thought it was pretty cool. Here's the link to it: https://first-chatbot--katiewinton.repl.co/
its like mad libs
what language is this in?
@adamgr234: I found the code and it is html, css and mostly javascrpt
You can do
prompt('What is your name?');
alert('What is your name?');
But its nice!
@sharkfin: i knew that but before i was trying something and only alert worked an i just didn't fix it
you can use some of my code as long as you give me credit
@katiewinton: hahahaha copycat xD
your mom is nice. Green is my favorite color.
Good job my friend.
Just hearing you talk about **** makes me hungry. Well, ****, it was nice talking to you. Maybe next time we can learn even more about each other. Bye!
I wish this was longer :\
how about adding a swear word filter, cause i can make my name **** (replace this with a swear word)
@richtan: I honestly don't know how to make a swear word filter. If you are doing weird things, that's on you. LOL :)
@katiewinton: if (curses.indexOf(nameInput)): //returns True if there is one or more occurrence of that word in your giant string
// delete their ip address
I believe you can find a huge list of curse words; I did for one of my bots before
@katiewinton: maybe create some variables that are swear words, then if the answer is one of those, have a different message pop up.
@katiewinton: You could just create a for loop that says "for each word in this sentence, if this word is equal to ...., replace it with ****.
if input in swearwords:
How do you make this Html Purely?
@a17aphillips: Me in life
i like it