# Egg-Fu 1.7

**Category:** Eggdrop_Bot
**Original Author:** RandomAPB (CitizenK@mad.scientist.com)

## Description
Egg-Fu is a Tcl-based IRC bot that learns and responds to user inputs, providing dynamic factoids and random responses based on the context of conversations.

## Key Features
- **Factoid Learning**: The bot can learn new factoids from public chat by recognizing patterns like "text is value".
- **Random Responses**: It generates random responses using inline options such as `$who`, `$nick`, `$date`, etc.
- **Inline Options**: Supports various placeholders for dynamic content, including date, nicknames, and random animals.
- **Admin Commands**: Provides commands to manage factoids, such as adding, deleting, or altering them.

## File Analysis
- **egg-fu.1.7.tcl** — The main script file that handles the bot's functionality, including learning new factoids and generating responses based on user inputs.
- **infoegg_chans** — Configuration for channels where the bot should operate.
- **infoegg_flood** — Setting to control flood protection.
- **botsnick** — Nickname used by the bot.
- **wordfile** — File containing the list of factoids and their values.
- **mdirect** — Option to enable or disable learning from misdirected text.
- **lrntrig** — Trigger for commands that allow users to add new factoids.
- **atrigger** — Command trigger for asking questions.
- **infoegg_question** — Proc to handle user queries and generate responses based on the learned factoids.
- **infoegg_learn** — Proc to learn new factoids from public chat.