aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/HelpMe.md
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-08-01 20:27:05 +0200
committerRenaud G <renaud@rolisteam.org>2020-08-01 20:29:20 +0200
commiteb5e5c0b9c3ea6b8fe384e601cb93b0114cf7842 (patch)
tree9df24cc66a6ca14fd6432ded2a72834b83160daa /HelpMe.md
parentbc9ba4f09e94a40595e4ddb3f0ae76a0175e682e (diff)
downloadOneRoll-eb5e5c0b9c3ea6b8fe384e601cb93b0114cf7842.tar.gz
OneRoll-eb5e5c0b9c3ea6b8fe384e601cb93b0114cf7842.zip
add complex output on group in documentation
Diffstat (limited to 'HelpMe.md')
-rw-r--r--HelpMe.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/HelpMe.md b/HelpMe.md
index a6ec9f0..7af468c 100644
--- a/HelpMe.md
+++ b/HelpMe.md
@@ -532,6 +532,12 @@ Same as above, but the result of each die is displayed inside square brackets.
Group dices, then count the number of group (7th sea system).
+#### Complex output
+
+Group operator can take a parameter to active the complex output.
+This output will show the each group and any left aside values if any.
+To active this output, it is required to add a `s` just after the `g`. See example below:
+
#### Example
```
@@ -542,6 +548,16 @@ This will roll 3 dices and then try to group them to make groups of 10. If you g
The `g` operator is allowed to re-order dices to create groups. When rolling `4d20g10`, if you get `7 4 3 6`, the result will be `2` (`{7,3}` and `{6,4}`).
+```
+5d10gs10
+```
+
+Then, the final output will be:
+```
+2 ({7,3}, {6,4} - [2])
+```
+
+`{7,3}` and `{6,4}` are group, and `[2]` is left aside.
### Comment (\#)