# irpgbot.v3.1.2+ttl.patch

**Category:** Standalone_Bot
**Original Author:** Unknown

## Description
This patch modifies an IRC bot to include a more complex level-based time-to-live (TTL) system for player levels, adjusting the time until the next level based on the current level.

## Key Features
- Implements a `ttl` and `penttl` function to calculate the TTL based on player levels.
- Adjusts the duration of inactivity before leveling up based on the player's current level.
- Modifies the bot's response when a player levels up, providing a more dynamic message with the calculated TTL.

## File Analysis
- **irpgbot.v3.1.2+johm+chschu/bot.v3.1.2.pl** — Contains the patch applied to the bot script, modifying level-based time-to-live calculations and inactivity handling.