I had a go at one of these plugins before:-
http://forum.thegamecreators.com/?m=forum_view&t=206615&b=18
Decided it could do with functions to give a probable lowest roll of the dice, highest roll of the dice and average.
So you could for instance figure out what the value of one roll of the 'iron sword' doing the [string] of 2D4+9 was, randomised, but you could also use functions to reach say a minimum value of 3 and a maximum value of 17. So describing the sword's damage you could either say it did 2D4+9 or 11 to 17, if you see what I mean.
[edit]
I've added another string return command...
Anyhows, here is the command list:-
Command Set:-
DICE ROLL VALUE - a function returning an INTEGER value from (DiceRollStringToValue STRING)
DICE ROLL MINIMUM VALUE - a function returning an INTEGER value from (DiceRollStringToValue STRING,[ RollsOfTheDice INTEGER])
DICE ROLL MAXIMUM VALUE - a function returning an INTEGER value from (DiceRollStringToValue STRING,[ RollsOfTheDice INTEGER])
DICE ROLL AVERAGE VALUE - a function returning an INTEGER value from (DiceRollStringToValue STRING,[ RollsOfTheDice INTEGER])
DICE ROLL MINTOMAX STRING$ - a function returning a STRING value from (DiceRollStringToValue STRING)
Total Number of Commands = 5
and I attach the .rar file with ini, help and dll files in the usual folders.
I think it is pretty darn fast.
a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...