# Clone Detection Script for Eggdrop

**Category:** Eggdrop_Bot
**Original Author:** By-Tor & Ernst

## Description
This script is designed to detect and manage clones on IRC channels by tracking user hosts and kicking/banning them if a certain threshold of clones is reached.

## Key Features
- **Cloning Detection**: Tracks users based on their host addresses.
- **Channel-Specific Clones Management**: Manages clone detection per channel.
- **Fast-Kick Mechanism**: Kicks multiple users at once, if the IRC network allows it.
- **Banning Mechanism**: Bans hosts that exceed a specified number of clones.
- **Console Notifications**: Notifies console operators when a clone joins or parts a channel.

## File Analysis
- **defence.tcl** — Contains the core logic for detecting and managing clones, including bindings to various IRC events such as joining, parting, and kicking. It also includes procedures for setting up and cleaning up the script state.