# dicinfo

**Category:** Eggdrop_Bot
**Original Author:** Marco (fourier) Ferra, Carlos (r3pek) Silva, ardoRic

## Description
A set of Tcl scripts designed for use with Eggdrop 1.6.x IRC bots, providing an infobot functionality that acts as a database or FAQ system. It allows users to add, delete, and search definitions, and provides statistics on contributions.

## Key Features
- Database saved in text files per channel.
- Supports multiple definitions per key.
- Timestamps conform to RFC3339.
- DCC send support for sending the database file to users.
- Contribution statistics.
- Search capabilities via a web interface.
- Access control and user-level permissions.

## File Analysis
- **dic-add.tcl** — Adds new keys or definitions to the database.
- **dic-cmd.tcl** — Manages commands related to adding, deleting, and searching in the database.
- **dic-dbs.tcl** — Displays database statistics for a given key.
- **dic-del.tcl** — Deletes keys from the database.
- **dic-get.tcl** — Retrieves definitions based on key or index.
- **dic-sch.tcl** — Searches for keys that match a pattern in the database.
- **dic.tcl** — Main configuration and initialization file for dicinfo.
- **constants.php** — PHP script to retrieve statistics from the dictionary file.
- **menus.php** — Web interface menu for searching the dictionary.
- **search.php** — Web-based search functionality for the dictionary.
- **README** — Documentation on installation, usage, and features.
- **BUGS** — Known issues with dicinfo.
- **ChangeLog** — History of changes to the dicinfo scripts.
- **FAQ** — Frequently Asked Questions about using dicinfo.
- **TODO** — TODO list for future development.
- **head.html** — HTML file for the bot's header.
- **index.html** — HTML file defining the frameset layout for the web interface.