This MOD is one of the best i have seen. Big respect to its creator and many thanks.
A few things i have found that i will share here for others to have a play with if they so wish.
On my board i have have set the bot so he can answer any question and even play games.
To answer any question you can set the bots name as a prompt followed by key words such as do, where, how, can... etc Then set a random answer table to each response.
For example on my chat: robo do
followed by the members 'do' question will trigger a random response from the 'do' category and so on...
If you have mchat set so you can click the [x] to reply to a users name the chatbot will not respond. This is because it sees the [color=...etc] bits of code from the onclick insert text. Here is a snip of code so just your bot has the name you set users to prompt questions with.
In mchat_body.html find:
Code: Select all
<!-- IF not MCHAT_ARCHIVE_MODE and MCHAT_ADD_MESSAGE -->
Code: Select all
<!-- IF mchatrow.MCHAT_USERNAME eq "RoboRaver" -->
<!-- ELSE -->
EDIT "RoboRaver" to your bots name. EDIT insert_text('robo ' to what you set your name prompt too, mine here of course is robo.
Find the line that contains:
Add on a line before:
What this does is just change your chat bots [x] to a simple text insert that with trigger your random response settings if a users clicks the bot [x] to respond.
You can also get him to play games. For example: 'robo game' will trigger the response: Ok... Let's play a game. Rock, Scissors, Paper. (reply with: robo and then your choice). Then set a category with the 3 responses (Rock, Scissors, paper) for random answer, then set all 3 text prompts: robo rock, robo scissors, robo paper and set all 3 to the same category containing the 3 random answers.
When a member types: 'robo rock' chat bot will reply with a random answer like 'paper' and so on.
The same thing can be done to guess a number between 1 and 10 or even flip a coin head or tails.
You can test my chat bot out (RoboRaver) on http://www.raversparadise.co.uk
login username: seerobo
login password: seerobo
Just some food for thought for anyone that uses this awesome MOD.