Home > Applications, Tricks, Tutorials > How to create your own chat bot?

How to create your own chat bot?

Hello guys! I’m extremely sorry for not writing any article these days and wanna say thanks to Dinesh for writing post – “How to know IP address of your friend with you are chatting“. Today in this post I’m gonna tell you all how to create a chat bot in less than 5 minutes, Hope you know what a chat bot is…If don’t know let me explain you first.

A chatterbot (or chatbot) is a type of conversational agent, a computer program designed to simulate an intelligent conversation with one or more human users via auditory or textual methods. The computer programmes are also known as Artificial Conversational Entity (ACE) and, though many appear to be intelligently interpreting the human input prior to providing a response, most chatterbots simply scan for keywords within the input and pull a reply with the most matching keywords or the most similar wording pattern from a local database. Chatterbots may also be referred to as talk bots, chat bots, or chatterboxe s- source Wiki

To make a chat bot just follow these simple steps :

  • Open note pad
  • Copy and paste this code in notepad -
dim fname

fname=inputbox("Heya! Whats your name?")

fname=inputbox("Hey thanks for downloading bot!")

fname=inputbox("So wassup?..Am just chating!")

fname=inputbox("Really? whts your favourite food?")

fname=inputbox("Hmm...I like pizza")

fname=inputbox("hmm...gotta go bye tc")
  • Now click on file -> save as -> save the file with .vbs extension and choose save as all files and click on ok button.
  • Now after saving check it!
  • That’s all! You made a chat bot! :)

If you want to convert your vbs file into exe or bat (to give a professional chat bot look) just download Xneat application builder.

Link : Demo of chat bot
Random Posts:

Loading…

  1. July 3rd, 2009 at 07:26 | #1

    yarr plz complete ma html in both formats

  2. October 17th, 2009 at 00:14 | #2

    @Dinesh dude your HTML project is completed. :)

  3. Lola
    December 3rd, 2009 at 05:59 | #3

    I don’t get it… how do you actually talk with it?

    • mio
      February 8th, 2010 at 08:14 | #4

      you program what it says and you reply and you can program it to reply with an inteligent response.
      (i.e. bot: “what is your name?”
      you: “ladasha(?)”
      bot: “ladasha is a nice name. what food do you like?”
      you: “pizza”
      bot: “omg i love pizza!”

      make sense?

      here is one code i made. it works well and is a little fun:

      dim fname
      fname=inputbox(“HI! My name is Shelly! Whats your name?”)
      fname=inputbox(“WOW! I love that name! so, how are you ” & fname)
      fname=inputbox(“So, why are you doing ” & fname)
      fname=inputbox(“Wow, that’s really interesting! where do you live?”)
      fname=inputbox(“OMG, i really want to move to ” & fname)
      fname=inputbox(“do you have any brothers or sisters?”)
      fname=inputbox(“wow! lol i have 2 sisters. one is 12 and one is 2. by the way, how old are you?”)
      fname=inputbox(“wow! i really wish that i was ” & fname)
      fname=inputbox(” im 23 by the way. i really like your hair! where did you get it done?”)
      fname=inputbox(“i used to go there, but i do my own hair now.”)
      fname=inputbox(“so… whats your favorite food?”)
      fname=inputbox(“:D i love ” & fname)
      fname=inputbox(“so did you enjoy this little conversation?”)
      fname=inputbox(“i feel the same way. well, i have to go. my daughter just crashed into a tree and shes stuck. Bye! :D ”)
      fname=inputbox(“bye!!! :D DDDD”)

      have fun with it :)

  1. No trackbacks yet.