# #G7 Idle RPG Bot

**Category:** Standalone_Bot
**Original Author:** jotun

## Description
This is a standalone IRC bot designed for managing an idle RPG game on the #G7 channel of SlashNet. It handles player registration, login, logout, and various in-game actions like leveling up, battling other players, and item management.

## Key Features
- **User Management**: Registers new users, logs them in and out.
- **Leveling System**: Tracks user levels and time to next level.
- **Battle System**: Random battles between online players.
- **Item Distribution**: Drops items based on player level.
- **Penalties and Rewards**: Applies penalties for certain actions and rewards for others.
- **Admin Commands**: Provides commands for bot administrators to manage users, modify settings, and view logs.

## File Analysis
- **admincomms.txt** — Contains a list of administrative commands available to the bot.
- **bot.v2.2.1.txt** — Perl script containing core functionality of the bot, including user management and battle logic.
- **bot.v2.2.2.schmolli.txt** — Updated version with security enhancements and command-line argument processing.
- **bot.patch1.schmolli.txt** — Patch file for v2.2.2, detailing changes made by Ed Schmollinger.
- **commonfunctions.php** — PHP functions used to compare and sort user data.
- **contact.php** — Form for users to submit feedback or suggestions.
- **db.php** — Script to display a sorted list of players based on various criteria.
- **dump.php** — Script to dump player data in a tabular format.
- **footer.php** — HTML footer template used across multiple pages.
- **header.php** — HTML header template with navigation links.
- **index.php** — Information page about the game, including how to register and log in.
- **others.php** — Form for users to submit information about other IRC RPGs.
- **players.php** — Detailed player info based on user input.
- **sitesource.zip** — Archive containing PHP source code for the bot's website.
- **source.php** — List of released versions and patches for the bot.
- **idlerpg.txt** — Perl script to query player information from the bot.
- **idlestats.txt** — Perl script to parse player stats from the bot.
- **idlerpg-adv.txt** — Advanced Perl script to fetch detailed player data.
- **urls.txt** — List of URLs for other IRC RPGs.
- **hits.db.bak** — Backup file containing hit counts for various pages.