Extension:Dice

The Dice extension adds the ability to automatically substitute random dice when an edit is saved, and logs the dice being rolled to a special page.

When an edit is saved, requests for dice rolls in the form  cause dice to be "rolled" and logged, and are substituted with a tag that displays the result.

Roll results are intended to be tamper-proof, and easily verifiable. The extension provides a special page where dice roll logs can be examined.

Usage
Provides a magic keyword that is substituted when a page is saved with the appropriate &lt;dice> tag to display the result of a roll. The dice tag can be moved around, but remains attached to a log entry and will resist modification of the result.

Dice roll keywords are "standard" roll specifications prefixed with @@; specific accepted formats are as below:

Installation

 * 1) From your  directory, check out the Dice extension with
 * 2) Add the following line to the bottom of LocalSettings.php (though not after trailing ?>, if it is present):
 * 3) This extension adds a table to the database to hold the results of dice rolls, so you need to run the update script (instructions).
 * 4) Installation can now be verified through Special:Version of your wiki.
 * 1) This extension adds a table to the database to hold the results of dice rolls, so you need to run the update script (instructions).
 * 2) Installation can now be verified through Special:Version of your wiki.

User rights
rolldice: user can roll dice by saving a page with the magic keyword, and can use the Special:Dice special page to check their roll history. checkrolls: user can use Special:Dice to check the history of rolls of users other than themselves.

E.g., if you want everyone to be able to roll dice and check rolls: