- Deutsch
- English
Annabot for Pichat
Annabot is a plugin for Pichat. It allows to set up a bot for each chatroom. The bot can help administrators to manage their servers and provides statistics.
1. Download
2. Installation
3. Settings
4. Functions
5. Information
6. To do
7. License
1. Download
Annabot v0.1.11 for Pichat b62.
Annabot v0.1.10 for Pichat b58.
Annabot v0.1.10 for Pichat b55.
Annabot v0.1.10 for Pichat b54.
Latest version: 21.09.09
2. Installation
Decompress the whole zip file into the pichat directory and restart Pichat. If an older version does exist simply overwrite the files.
3. Settings
After Anna was installed and Pichat was restarted a file with name pichat_plugins.ini will be created. In this file a section [Bot.Anna] contains the settings of the bot.
| Key | Description |
|---|---|
| BotName | Name for the bot. |
| DBFile | Filename of the database. |
| DBRefreshTime | Timeout in seconds for a database refresh (backup&restore). |
| Chatrooms | Number of rooms to join at startup. |
| ChatroomX | Chattoom X is joined. Room numbers starts with 1. |
| LogFile | Name of the log file. |
| MaxUserAwayTime | Timeout in seconds until the user is deleted from the database. |
| LogMaxLineTime | Timeout in seconds until for the log lines. |
| LogMaxLineCount | Maximum count of log lines. |
| Administrator | Sets up the administrator. |
| HelloOnJoin | With 1 a greeting is sent to the user while joining the server. |
4. Functions
The bot can accessed with commands in the chat. The commands are different for different user privileges. You are able to send the commands to the bot with a private message. In this case the bot will answer with a private message too.
| Command | Description |
|---|---|
| !born | Display the lifetime of Anna. |
| !dbbackup | Backup a tree of the database. |
| !dbexecute | Restore a tree of the database. |
| !dbincback | Start a database refresh. |
| !dbstatistics | Return the database statistics. |
| !dbloadlang | Reload a language file. |
| !getmsg | Retrieve an inbox message. |
| !getusermode | Display user type. |
| !kick | Ban user to the Zillout channel. |
| !help | Display help for a specific command. |
| !language | Change response language for a single user. |
| !lastlines | Display last lines written in the chatroom. |
| !msg | Send a message to an user. |
| !msgs | Display number of messages in your inbox. |
| !seen | Display last time of activity of an user. |
| !toplines | Display top five of line writers. |
| !topsmileys | Display top five of the used smileys. |
| !topsmileyusers | Display top five of the user who used the most smileys. |
| !topwords | Display top five of the word writers. |
| !topic | Change topic of chatroom. |
| !unzombie | Remove the zombie mode. |
| !users | Write count of known users. |
| !whatsaid | Display last lines of an user. |
| !whosaid | Display last lines with the given words. |
| !zombie | Set up the zombie mode for an user. |
Colors: Orange = Operator - Red = Administrator
5. Information
The language files lang_XX.lng can easily modified with an editor. The database contains all needed data. For the case Pichat doesn't start up the database could be defect. You have to exchange the database with a backup then.
6. To do
- Count of logins per User for statistics
- Display server time
- Times in user language
- Reading confirmation after sending a message
- Put toplines/topwords together into topusers and add !newuser for the last 10 added user
7. License
Annabot is as Pichat licensed under the Piratson Public License.

