Dice Roller 1.0
Dice Roller for Vanilla 2
This plugin will allow you to roll dice in posts on forums.
To roll dice, use the following syntax:
You can modify the roll with "+" or "-" Z at the end. So:
The output would look like this for rolling 1d20+15:
(Rolled: 1d20+15. Rolls: 12. Total: 27)
I'm using Fudge dice in the game I'm running, so that's in here too. So:
This will spit out something like:
(Rolled: 3dF. Rolls: -, 0, +.)
Note that this is a capital "F."
I put a basic cheat detection mechanism in here. So, if it looks like someone is just trying to type in values, the Dice Roller will post a "POSSIBLE CHEAT DETECTED." message at the bottom of the post.
I don't have any fancy "if you post a die roll, you can no longer edit or delete the post" mechanism in here yet, but if I can figure something out, I'll include it in the next version.
I have manually restricted edit / deletion rights in my forums.
Version 1.1 - fixed an issue that was causing multiple rolls of the same type to display incorrectly. (5/5/2011)