Dice Notation
The common convention when displaying dice rolls in roguelike games is to use dice notation. The notation is defined as:
(XdY+SZ^+SR)xV
Neccessary
X = Number of dice
Y = Faces of the dice
Optional
Z = Bonus value to be added to the last roll result
R = Rerolls, if + then remove lowest rolls, if - then remove highest rolls
S = If double sign (++, --, or ^^) adds {z} value to ALL dice rolls and/or {r} rerolls to all dice rolls
V = Sets of dice used
See some common examples for notation use.