# Help

# Get Bot Info

/msg IRPG INFO

This command gives info such as to which server the bot is connected and the nicknames of online bot admins.

This command is optional, and may be disabled by your bot admin.

# Levelling

To gain levels, you must only be logged in and idle. The time between levels is based on your character level, and is calculated by the formula:

600*(1.16^YOUR_LEVEL)

Where ^ represents the exponentiation operator.

Very high levels are calculated differently as of version 3.0. Levels after level 60 have a next time to level of:

(time to level @ 60) + ((1 day) * (level - 60))

The exponent method code had simply gotten to that point that levels were taking too long to complete.

# Battles

Each time you level, if your level is less than 25, you have a 25% chance to challenge someone to combat. If your level is greater than or equal to 25, you have a 100% chance to challenge someone. A pool of opponents is chosen of all online players, and one is chosen randomly. If there are no other online players, you fight no one. However, if you do challenge someone, this is how the victor is decided:

- Your item levels are summed.
- Their item levels are summed.
- A random number between zero and your sum is taken.
- A random number between zero and their sum is taken.
- If your roll is larger than theirs, you win.

If you win, your time towards your next level is lowered. The amount that it is lowered is based on your opponent's level. The formula is:

((the larger number of (OPPONENT_LEVEL/4) and 7) / 100) * YOUR_NEXT_TIME_TO_LEVEL

This means that you lose no less than 7% from your next time to level. If you win, your opponent is not penalized any time, unless you land a Critical Strike.

If you lose, you will be penalized time. The penalty is calculated using the formula:

((the larger number of (OPPONENT_LEVEL/7) and 7) / 100) * YOUR_NEXT_TIME_TO_LEVEL

This means that you gain no less than 7% of your next time to level. If you lose, your opponent is not awarded any time.

Battling the IRPG bot is a special case. The bot has an item sum of 1+[highest item sum of all players]. The percent awarded if you win is a constant 20%, and the percent penalized if you lose is a constant 10%.

As of version 3.0, if more than 15% of online players are level 45 or higher, then a random level 45+ user will battle another random player every hour. This is to speed up levelling among higher level players.

Also as of version 3.0, there is a grid system. The grid is a 700 x 700 area in which players may walk. If you encounter another player on the grid, you have a 1 / (NUMBER_OF_ONLINE_PLAYERS) chance to battle them. Battle awards are calculated using the above formulae. More information on the grid system is available here.

Also as of version 3.0, a successful battle may result an item being stolen.

## Team Battles

Every online user has (roughly) 1/4 chance per day of being involved in a 'team battle.' Team battles pit three online players against three other online players. Each side's items are summed, and a winner is chosen as in regular battling. If the first group bests the second group in combat, 20% of the lowest of the three's TTL is removed from their clocks. If the first group loses, 20% of their lowest member's TTL is added to their TTL.

# Critical Strike

If a challenger beats his opponent in battle, he has a 1/35 chance of landing a Critical Strike. If this occurs, his opponent is penalized time towards his next time to level. This amount is calculated by the formula:

((random number from 5 to 25) / 100) * OPPONENT'S_NEXT_TIME_TO_LEVEL

Meaning he gains no less than 5% and no more than 25% of his next time to level.

# Quests

/msg IRPG QUEST

Four level 40+ users that have been online for more than ten hours are chosen to represent and assist the Realm by going on a quest. If all four users make it to the quest's end, all questers are awarded by removing 25% of their TTL (ie, their TTL at quest's end). To complete a quest, no user can be penalized until the quest's end. There are two kinds of quests: grid-based quests and time-based quests. Time-based quests last a random time between 12 and 24 hours. Grid-based quests are based on the grid system and do not have a set time to completion. Rather, the questers must reach certain points on the map for their quest to be complete. If the quest is not completed, ALL online users are penalized a p15 as punishment.

# Godsends

Every online user has a (roughly) 1/8 chance per day of a godsend occurring to them. A godsend is a bit of extremely good luck that either:

- accelerates a player 5-12% of their next time to level
- increases one of their item's value by 10%

# Calamities

Every online user has a (roughly) 1/8 chance per day of a calamity occurring to them. A calamity is a bit of extremely bad luck that either:

- slows a player 5-12% of their next time to level
- lowers one of their item's value by 10%

# Ending

All good things must come to an end and without restarting the game, it would become boring. Also, new players have no hope in ever catching up to top level players. So, the game will be restarted after the following...

The first player to reach level 100 will trigger a few things. The first player to reach 100 is rewarded with all items gaining 500 points each.

Next, Slay Fest will start and run for 24 hours. Slay Fest means dragon timers reset every hour instead of every 12 hours. Other players that reach 100 will trigger an 8 hour Slay Fest. If a Slay Fest is already in progress, then the Slay Fest time resets with the most recent player reaching 100.

After Slay Fest ends, the End Tourny will start. The top 32 players (16 for the Deja game) are included and it doesn't matter if you're offline or online. Each player starts with 500 chances and each loss will subtract 1-5 chances. The chance loss depends on the amount of players: 5:32, 4:16, 3:8, 2:4 and 1 chance to 2 players. Once all your chances are used up, you will be turned into a Zombie and your life will go to -100 and your fight counter will be set to 100 (declared winner of the End Tourny gets 200).

Instead of fighting, Zombies can eat the brains of the living, but not the brains of anyone left in the End Tourny.
The Zombie's fight counter will be used for how many times a Zombie can eat (starts negative and ends at 5).
Zombies will take 1 - 10 life points away from the living and increase their Zombie status by the same amount.
When a Zombie strikes the final blow and causes one of the living to turn into a Zombie, they will get 2
more fights added. Zombies can not fight manual fights, but the living can fight a Zombie. If the living wins the
fight, then they will turn the Zombie 1 - 5 life points to the living.
To eat brains, type: /msg eat *character's name*.

If a player reaches 100 during the End Tourny, then an 8 hour Slay Fest will be triggered and End Tourny will be paused, during this time.

The winner of the End Tourny will be the last player with any amount of life.