aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/HelpMe.md
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-01-26 09:58:08 +0100
committerRenaud G <renaud@rolisteam.org>2016-01-26 09:58:08 +0100
commita729c3a824d4a46b8e366ba36ce86bda349e1e33 (patch)
tree12e307c7894d02adcf2ed25516e00ff8d505bb1c /HelpMe.md
parent4f7f1ff09713da3ba1c475b582c04cc7a9e1ba7b (diff)
downloadOneRoll-a729c3a824d4a46b8e366ba36ce86bda349e1e33.tar.gz
OneRoll-a729c3a824d4a46b8e366ba36ce86bda349e1e33.zip
Add @ operator
Add in the documentation the @ operator
Diffstat (limited to 'HelpMe.md')
-rw-r--r--HelpMe.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/HelpMe.md b/HelpMe.md
index df336a2..7b4903c 100644
--- a/HelpMe.md
+++ b/HelpMe.md
@@ -40,6 +40,7 @@ Thanks of several operations and option, you can tune a bit you rolling command.
* r : Reroll
* e : Explose
* a : Reroll and add
+* @ : Backward Jump
### Keep
@@ -112,6 +113,16 @@ Rolling 3 dice with 10 faces starting at 0.
Rolling 3 dice, values ars between -20 and -9.
+### Backward Jump
+
+This operator is dedicated to apply its next operator to the second to last result.
+For example:
+
+> 8D10c[>=7]+@c[=10]
+
+c[=10] in this command is counting the number of 10 in the result of 8D10, if you remove the @, it will try to count the number of 10 in the result of c[>=7]. The result of c[>=7] is a scalar number (1 or 2 ... (max value 8)); it is not dice list.
+
+
## Arithmetic
Rolisteam Dice Parser is able to compute primary arithmetic operation such as: +, -, /, * and it also manages those operator priority and it can also manage parenthesis.