# IDlerPG Website Code

**Category:** Standalone_Bot
**Original Author:** res0 <bk@slashnet.org>

## Description
This is a standalone IRC bot for managing an idle RPG game, providing player registration, login, and logout functionalities, as well as tracking user levels, penalties, and quests.

## Key Features
- Player registration and login commands.
- Tracking of user levels, class, and time to next level.
- Managing penalties and quest information.
- Displaying the world map with online/offline users.
- Generating player stats in various formats (table, XML).

## File Analysis
- **commonfunctions.php** — Contains utility functions for sorting and comparing player data.
- **config.php** — Configuration settings for the bot, including server details and database paths.
- **contact.php** — Handles contact form submissions to an admin email.
- **db.php** — Displays a sorted list of players based on various criteria.
- **dump.php** — Outputs player data in a plain text format.
- **footer.php** — Contains footer content for the website, including hit tracking.
- **header.php** — Website header with navigation and logo.
- **index.php** — Provides game information and registration instructions.
- **makemap.php** — Generates an image representing a user's location on the map.
- **makequestmap.php** — Draws a quest-related map.
- **makeworldmap.php** — Creates a world map showing online/offline users.
- **players.php** — Lists players with their levels and next level information.
- **playerview.php** — Displays detailed stats for a specific player.
- **quest.php** — Shows current quests and their status.
- **xml.php** — Outputs player data in XML format.
- **README** — Documentation for the website code, including installation instructions.
- **ChangeLog** — Log of changes made to the website code.
- **admincomms.txt** — List of admin commands available for managing players and bot operations.
- **g7.css** — CSS stylesheet for the website layout.
- **idlerpg-adv.txt** — Perl script for retrieving detailed player information.