From: Matthew D Moss Date: 2006-01-07T17:08:35+09:00 Subject: Re: Dice Roller (#61) The quiz shows incorrect output for 3d6. The line reading "72 64 113 33 78 82" was mistakenly copied from a different set of dice. "3d6" means: (rand(6)+1) + (rand(6)+1) + (rand(6)+1) (The +1 are because rand is zero-based, but dice are one-based.) - is subtraction, so -4 means subtract 4. / is division, so /d4 means roll a d4 and divide that into the expression left of the / d% == d100 d00 is not valid; there is no such thing as a zero-sided die (although if you want to make 00 an extension to imply d100 in your own implementation, that's fine).