# TimebombES

**Category:** Eggdrop_Bot
**Original Author:** timebomb@tartana.tk

## Description
A Tcl script for Eggdrop IRC bots that simulates a "time bomb" game, where a user is given a set of colored wires and must choose the correct one to prevent an explosion (kicking them from the channel).

## Key Features
- **!bomba <nick>** — Initiates the time bomb for the specified nick.
- **!cable <color>** — Allows the targeted user to attempt to defuse the bomb by cutting the correct wire.
- **Randomized Bomb Duration and Wires** — The duration of the bomb and the number of wires are randomized each time a bomb is set.
- **Automatic Bomb Detonation and Defusal** — The script automatically detonates or defuses the bomb based on user input.

## File Analysis
- **timebombES.tcl** — Contains the main logic for initiating, managing, and resolving the "time bomb" game. It includes procedures for binding commands, setting up timers, and handling user interactions.
  - **timebombES.tcl** — Manages the time bomb game with command bindings, wire selection, and explosion/defusal mechanisms.