Chatbot

by Assembler Maniac

System

XASECO

Description

Programmable bot to react to keywords in chat

Installation

1. unzip the script to xaseco base directory
2. edit xaseco's plugins.xml and include the following line:
Code:
<plugin>plugin.chatbot.php</plugin>
3. configure chatbot.xml to your needs
4. restart xaseco

Settings

You can change the triggerwords and replies of chatbot by configuring chatbot.xml.
Ban, kick and blacklist Define your keywords, split with commas between tags: <banwords>, <kickwords> and <blacklistwords>.
Example:
Quote:
<kickwords>damn,shit</kickwords>

Normal trigger words Define your keywords under <watchfor> and for each keyword add <text>word|reply text</text> tags. Format for a watchfor is this: <text>look for this|reply with this|or this|or this|or whatever # of possible responses you want, they'll randomly be chosen</text>.
Example:
Quote:
<text>bb|Bye, and see you again!</text>

Link(s)

Forum: https://www.tm-forum.com/viewtopic.php?p=83901#p83901

Download(s)

File Version Date Size Downloads
chatbot(1.0).zip 1.0 2010-02-19 2.14 KB 2363