# Chuck Facts v1.0 (2009)

**Category:** Eggdrop_Bot
**Original Author:** Galdinx et MenzAgitat

## Description
A Tcl-based IRC bot that fetches random facts from a website and displays them in chat channels.

## Key Features
- Fetches facts from `http://chucknorrisfacts.fr/` using HTTP requests.
- Stores collected facts in an external database file (`scripts/BDDs/chuck.db`).
- Implements anti-flood protection to prevent excessive commands.
- Periodically sorts the stored facts to remove duplicates.

## File Analysis
- **chuck.tcl** — Primary script that handles fetching, storing, and displaying facts. It binds public commands, schedules periodic database sorting, and implements anti-flood mechanisms.
- **chuck.tcl** (continued) — Contains detailed command handling, fact filtering, and logging functionalities.