# Timebomb

**Category:** Eggdrop_Script
**Original Author:** jotham.read@gmail.com

## Description
This script is a game for Eggdrop IRC bots where one user can plant a "timebomb" in another user's pants, and the target user must diffuse it by cutting the correct wire before time runs out. The script handles the timing, wire selection, and outcomes of the game.

## Key Features
- **bind  pub - timebomb doTimebomb**: Triggers when a user asks to plant a bomb.
- **bind  pub - cutwire doCutWire**: Triggers when a user attempts to diffuse the bomb.
- **Configuration settings for bomb duration and wire choices**.
- **Random selection of wires and bomb detonation timing**.
- **Kicks users who attempt to plant bombs on bots or other restricted users**.

## File Analysis
- **timebomb.tcl** — Contains the main logic for the timebomb game, including event bindings, configuration settings, and functions for handling bomb planting and defusing.