# Duel

**Category:** Eggdrop_Script  
**Original Author:** Menz Agitat  

## Description  
Duel is an Eggdrop script that allows users to engage in a single-player combat duel against another user. The script handles all aspects of the duel, including generating attacks, defenses, and reactions, as well as keeping track of scores and displaying the results.

## Key Features
- Allows users to challenge each other to a duel using the `!duel` command.
- Users can specify the number of winning rounds required for the duel.
- The script handles all aspects of the duel, including generating attacks, defenses, and reactions.
- Tracks scores and displays the results after the duel is over.
- Supports multiple languages (currently French and English).
- Includes an anti-flood mechanism to prevent abuse.

## File Analysis
- **Duel.tcl** — Contains the main logic for the Duel script. Handles initialization, command processing, and duel management.
- **Duel.cfg** — Configuration file for setting various parameters such as language, duel rules, and anti-flood settings.
- **Duel.db** — Database file containing predefined attacks, defenses, and reactions used during duels.
- **changelog.txt** — Contains the history of changes made to the script.