ID:133238
 
At the moment, roll will return 0 for any roll which doesn't list a number of dice (e.g. d4 instead of 1d4). Could this be changed to presume that one dice is rolled?
Also, some way of multiplying the result i.e. 1d10*10 would be useful for rolling percentile dice.
use rand()?