# Timebomb.hu

**Category:** Eggdrop_Script
**Original Author:** sartek (sartek@freemail.hu)

## Description
This script implements a game called "Timebomb" for use with the Eggdrop IRC bot, allowing users to plant and diffuse virtual bombs. The game involves asking the bot to place a timebomb on another user's account, which must then be defused before it detonates.

## Key Features
- **Game Mechanism:** Users can request the bot to plant a timebomb on another user.
- **Bomb Duration:** The duration of the bomb is randomized between 20 and 60 seconds.
- **Wire Cutting:** Players must cut the correct wire from a list of colored wires to defuse the bomb.
- **User Restrictions:** Banned users or the bot itself cannot be targeted by timebombs.

## File Analysis
- **timebomb.tcl** — Contains the core logic for the Timebomb game, including command handling and event binding. It defines procedures for planting bombs, detonating them, and diffusing them.
- **MakeEnglishList.tcl** — A utility procedure to format wire choices into a human-readable list.