This is a shame that there seems to be nothing currently up to version phpBB 3.3, however, I did find a mod that was upgraded to 3.2, unfortunately, that developer was Banned from the main site. He did leave a forwarding address, which I peeked at. I'm not sure how much an upgrade would cost, and I've never worked with phpBB before, otherwise, I'd be tempted to build a mod, but it wouldn't be very pretty.
I do know the basic bits of PHP code that would be needed:
mt_rand(int $min, int $max): int
Code: Select all
RollDice (5,20); // Rolls 5d20.
function RollDice ($numDice = 1, $numSides = 6, )
{
$rollResults = new array();
for ($dieRoll = 0; $dieRoll < $numDice; $diRoll ++)
$rollResult[] = mt_rand(0, $dieMax);
echo 'You Rolled: ' . implode ('$rollResults, ', ');
return 0;
}

