JqueryChatbot – A simple JS chatterbot (Miscellaneous)

By Acty, December 5, 2013

JqueryChatbot is a very easy to use and put into operation JavaScipt script. It is ready to use, you just have to modify the keywords and replies present in the main file, Bot reacts to keywords that are scored in this file, for example:
if (message.indexOf('hello') >= 0) {

var messageArray = [
'Hello to you too!',
'I said hello first :)',
'Greeting, human.'


In this example, Bot will return multiple replies : ‘Hello to you too!’, ‘I said hello first :)’, ‘Greeting, human.’ for the hello keyword.
Of course you can add, change or remove replies as you like, simply rely upon them already present.