# Eggdrop 0.9l Bot

**Category:** Eggdrop_Bot
**Original Author:** Robey Pointer (Unknown)

## Description
Eggdrop 0.9l is a standalone IRC bot designed to manage channels, handle user interactions, and provide various services such as file transfers and channel protection.

## Key Features
- **Channel Protection**: Manages bans, op statuses, and channel modes.
- **User Management**: Tracks users with access levels (op, master) and manages their hostmasks.
- **File Transfer Services**: Supports DCC file transfers.
- **Automated Responses**: Handles messages from users based on predefined rules.
- **TCL Scripting**: Extensible via TCL commands.

## File Analysis
- **chan.c** — Implements channel management functions.
- **chan.h** — Header for `chan.c`, defining structures and constants.
- **chanprog.c** — Processes channel programming scripts.
- **cmds.c** — Handles user commands and messages.
- **dcc.c** — Manages DCC file transfers.
- **edit.c** — Built-in editor, though deprecated in favor of external editors.
- **eggdrop.h** — Main header file for the bot, defining constants and structures.
- **files.c** — File subsystem for managing files on the bot.
- **gotdcc.c** — Processes DCC CTCP requests.
- **hash.c** — Implements hashing functions for command processing.
- **hash.h** — Header for `hash.c`.
- **io.c** — Main I/O and server communication module.
- **mem.c** — Memory management functions.
- **misc.c** — Miscellaneous utilities like logging and helpbot functionality.
- **mode.c** — Handles channel mode changes.
- **msgcmds.c** — Responds to message commands from users.
- **msgnotice.c** — Manages message, notice, and CTCP handling.
- **net.c** — Network functions for bots.
- **proc.c** — Process handling for various tasks like DCC connections and shell execution.
- **reg.c** — Regular expression matching for user bans and ignores.
- **tandcmd.c** — Functions for dealing with tandem bots on the botnet.
- **tcl.c** — TCL integration module.
- **tclhash.c** — Adds commands via TCL dynamically.
- **userrec.c** — User data manipulation functions.
- **users.c** — User record management and access control.
- **dcc.save** — Script to save user records periodically.
- **README** — Instructions for setting up the bot.
- **README.botnet** — Guide on configuring tandem bots.
- **FEATURES** — List of features provided by Eggdrop 0.9l.
- **Makefile** — Build configuration file.
- **UPDATES** — Log of changes and updates to the bot.
- **botchk** — Script for checking if the bot is running.
- **botkick** — Example script for adding commands via TCL.
- **compat** — Compatibility scripts for old commands.
- **egg.config.dist** — Default configuration file for bots compiled without TCL.
- **eggstat** — Utility to dump statistics about user records.
- **lamestbot** — Sample bot configuration file for TCL-enabled bots.
- **nets** — List of known botnets and their configurations.
- **samples** — Example scripts for extending the bot's functionality.
- **weed** — Script for cleaning up user records.