# Multi-Host Repeat Flood Detection and Protection Script

**Category:** Eggdrop_Script
**Original Author:** SpiKe^^

## Description
This script is designed to detect and mitigate repeat flood attacks on IRC channels by monitoring messages for repeated patterns across multiple hosts, and then applying bans or kicks as necessary.

## Key Features
- **Repeat Flood Detection**: Monitors all text from channel users for signs of a botnet repeat flood.
- **Ban Management**: Automatically applies bans based on detected repeat floods, with configurable ban types and expiration times.
- **Kicking Mechanism**: Kicks offenders after a valid repeat flood is detected, with customizable limits on the number of kicks per command.
- **Mode Setting**: Sets channel modes to protect against repeat floods, which can be removed after a specified duration.

## File Analysis
- **multi-host-repeat.tcl** — Contains all configuration settings and logic for detecting and mitigating repeat floods. It includes bindings for pubm, notc, and ctcp events, as well as procedures for handling messages and applying bans or kicks.
- **--- File: multi-host-repeat.tcl ---** — Configuration and core functionality of the script.