isirasan
@isirasan on twitter
just add the dice you want to roll as arguments. mathematic operations and dice can be compined as you want.
./roll (2d6+3)*5
./roll 2d6+1d4+5d8
./roll 1d%
./roll 1d%*5+(21+1d6)+123d456
Operator | Desc |
---|---|
+ |
addition |
- |
subtraction |
* |
multiplication |
/ |
division (rounded mathematically) |
c |
division (ceiled) |
f |
division (floored) |
p or ^ |
pow |
( ) |
braces for calculation order |
[n]d[m]
-> n and m can be any numeric unsigned 64bit value greater then 0
also works with [n]D[m]
, [n]w[m]
and [n]W[m]
d[m]
will be prased as 1d[m]
and 1d%
is 1d100