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.

Anna preview
Pichat Powered

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.

KeyDescription
BotNameName for the bot.
DBFileFilename of the database.
DBRefreshTimeTimeout in seconds for a database refresh (backup&restore).
ChatroomsNumber of rooms to join at startup.
ChatroomXChattoom X is joined. Room numbers starts with 1.
LogFileName of the log file.
MaxUserAwayTimeTimeout in seconds until the user is deleted from the database.
LogMaxLineTimeTimeout in seconds until for the log lines.
LogMaxLineCountMaximum count of log lines.
AdministratorSets up the administrator.
HelloOnJoinWith 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.

CommandDescription
!bornDisplay the lifetime of Anna.
!dbbackupBackup a tree of the database.
!dbexecuteRestore a tree of the database.
!dbincbackStart a database refresh.
!dbstatisticsReturn the database statistics.
!dbloadlangReload a language file.
!getmsgRetrieve an inbox message.
!getusermodeDisplay user type.
!kickBan user to the Zillout channel.
!helpDisplay help for a specific command.
!languageChange response language for a single user.
!lastlinesDisplay last lines written in the chatroom.
!msgSend a message to an user.
!msgsDisplay number of messages in your inbox.
!seenDisplay last time of activity of an user.
!toplinesDisplay top five of line writers.
!topsmileysDisplay top five of the used smileys.
!topsmileyusersDisplay top five of the user who used the most smileys.
!topwordsDisplay top five of the word writers.
!topicChange topic of chatroom.
!unzombieRemove the zombie mode.
!usersWrite count of known users.
!whatsaidDisplay last lines of an user.
!whosaidDisplay last lines with the given words.
!zombieSet 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.