# BotProtect.tcl

**Category:** Eggdrop_Bot
**Original Author:** Rambo (Rambo@dir.bg)

## Description
This script is designed to protect an IRC bot by automatically banning attackers who attempt to kick or modify channel modes on a protected channel. It includes settings for ignoring actions from bot masters and sending messages to the attacker.

## Key Features
- Automatically bans attackers who try to kick a bot.
- Kicks the attacker from the channel after setting a temporary ban.
- Sends a message to the attacker if configured.
- Protects specific hosts associated with the bot.
- Monitors and reacts to changes in channel modes, such as inviting only (+i), limiting (+l), keying (+k), exempting (+e), or deopping users.

## File Analysis
- **BotProtect.tcl** — Contains the main logic for protecting the IRC bot. It defines procedures to handle attacks, monitor events, and set temporary bans.