diff options
| author | 2020-08-01 20:27:05 +0200 | |
|---|---|---|
| committer | 2020-08-01 20:29:20 +0200 | |
| commit | eb5e5c0b9c3ea6b8fe384e601cb93b0114cf7842 (patch) | |
| tree | 9df24cc66a6ca14fd6432ded2a72834b83160daa /HelpMe.md | |
| parent | bc9ba4f09e94a40595e4ddb3f0ae76a0175e682e (diff) | |
| download | OneRoll-eb5e5c0b9c3ea6b8fe384e601cb93b0114cf7842.tar.gz OneRoll-eb5e5c0b9c3ea6b8fe384e601cb93b0114cf7842.zip | |
add complex output on group in documentation
Diffstat (limited to 'HelpMe.md')
| -rw-r--r-- | HelpMe.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 (\#) |