diff options
| -rw-r--r-- | HelpMe.md | 4 | ||||
| -rw-r--r-- | README.md | 10 | ||||
| -rw-r--r-- | community_macro.md | 31 |
3 files changed, 39 insertions, 6 deletions
@@ -534,7 +534,7 @@ Group dices, then count the number of group (7th sea system). #### Complex output -Group operator can take a parameter to active the 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: @@ -1230,6 +1230,8 @@ Documentation of the bot is now inline with the bot. > !help macro +[Examples and More information](https://invent.kde.org/rolisteam/rolisteam-diceparser/-/blob/master/community_macro.md) + ## Alias documentation > !help alias @@ -2,10 +2,10 @@ # DiceParser -Rolisteam Dice Parser run dice commands. It is available on several platforms. +Rolisteam Dice Parser run dice commands. It is available on several platforms. The syntax is simple and powerful. -[Full documentation here](https://github.com/Rolisteam/DiceParser/blob/master/HelpMe.md) +[Full documentation here](https://invent.kde.org/rolisteam/rolisteam-diceparser/-/blob/master/HelpMe.md) ## [Invite to Your Discord Server](https://discordapp.com/oauth2/authorize?&client_id=279722369260453888&scope=bot&permissions=0) @@ -37,7 +37,7 @@ roll 100291 dice with 66666666666 faces and sort result roll 15 dice with 10 faces and it counts number of dice which are above 7 ### 1D8+2D6+7 -roll 1 die with 8 faces and add the result to 2 dice with 6 faces and add 7. +roll 1 die with 8 faces and add the result to 2 dice with 6 faces and add 7. ### D25 roll 1 die with 25 faces @@ -53,7 +53,7 @@ compute: 100/28 = 3 3*3 = 9 -More examples at : https://github.com/Rolisteam/DiceParser/blob/master/HelpMe.md +More examples at : https://invent.kde.org/rolisteam/rolisteam-diceparser/-/blob/master/HelpMe.md ## Grammar The grammar is something like this: @@ -185,6 +185,6 @@ cd rolisteam-diceparser mkdir build cd build cmake ../ -DBUILD_CLI=ON -make +make sudo make install ``` diff --git a/community_macro.md b/community_macro.md new file mode 100644 index 0000000..60f004b --- /dev/null +++ b/community_macro.md @@ -0,0 +1,31 @@ +Here you may find macro made by the community: + + +# Legend of the 5 rings, 4th edition + +* Nine-again and reroll 1: `!macro add KNS d10r1e[>8]k False` +* Nine-again: `!macro add KN d10e[>8]k False` +* Reroll 1: `!macro add KS d10r1e10k False` +* Skilled roll: `!macro add K d10e10k False` +* unskilled roll: `!macro add k d10k False` + +Author: Obi + +# Legend of the 5 rings, 4th edition [For French-speaking Users] + +* Nine-again and reroll 1: `!macro add GNS d10r1e[>8]k False` +* Nine-again: `!macro add GN d10e[>8]k False` +* Reroll 1: `!macro add GS d10r1e10k False` +* Skilled roll: `!macro add G d10e10k False` +* unskilled roll: `!macro add G d10k False` + +Author: Obi + + +# Spire/Heart by Rowan, Rook and Deckard + +``` +!macro add s([1-5])d([0-2]) "\1-\2;$1i:[<=0]{1}{$1};$1i:[<=0]{\2+1-\1}{0};$2d10s;$4k1;$4c10;$5i:[=10]{5-$3}{$5i:[>=8]{4-$3}{$5i:[>=6]{3-$3}{$5i:[>=2]{2-$3}{$5i:[=1]{1}}}}};$7i:[=5]{\"\n# Critical Success ($6 extra stress)\n[%2]\"}{$7i:[=4]{\"\n# Success\n[%2]\"}{$7i:[=3]{\"\n# Success at a cost\n[%2]\"}{$7i:[=2]{\"\n# Failure\n[%2]\"}{$7i:[<=1]{\"\n# Critical Failure\n[%2]\"}}}}}" True +``` + +Author: GreaterGerardon |