# Flood Guard Script

**Category:** mIRC_Bot
**Original Author:** Unknown

## Description
This script is a flood guard mechanism designed to protect IRC channels from various types of abuse, such as excessive message flooding, repeated messages, and other forms of disruptive behavior.

## Key Features
- **Flood Detection**: Monitors join, message, CTCP, and notice events for excessive activity.
- **Caps Lock Detection**: Warns or bans users based on the percentage of capital letters in their messages.
- **No Spaces Detection**: Bans users who send messages without spaces.
- **Repeat Message Detection**: Tracks repeated messages to issue warnings or bans.
- **Add/Remove Character Flood Detection**: Detects and bans users for excessive use of a single character or adding/removing characters.
- **Botnet Join Detection**: Warns about potential botnet joins by monitoring channel joins.

## File Analysis
- **flood.tcl** — Contains the main logic for flood detection, caps lock warnings, no spaces checks, repeat message tracking, and botnet join prevention. It binds various events to specific procedures that handle different types of abuse.