[<number of dice>] 
d 
<number of sides on each die> 
[<+ or  or * or /><change each die result by this amount>] 
[<'<' or '>'><current throw will pass if the current die result is this number, or this number./>] 

Examples: 
2 
d 
6 


This rolls 2 sixsided dice. 

d 
12 
+4 

This rolls a twelvesided die, and adds 4 to the result. 
3 
d 
12 

>7 
This rolls 3 12sided dice, and for each throw, tells you that throw succeeded if the result was larger or equal to 7. 
7 
d 
24 
*2 
>40 
This rolls 7 24sided dice, and multiplies each result by 2. Then roll tells you whether each result was larger than 40 or not. 