From 4b977cd92a8431f871f688f7a6ce224817bf590a Mon Sep 17 00:00:00 2001 From: "Renaud G." Date: Wed, 10 Dec 2014 09:38:10 +0100 Subject: Update HelpMe.md mispelling. --- HelpMe.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'HelpMe.md') diff --git a/HelpMe.md b/HelpMe.md index 484a972..af39a08 100644 --- a/HelpMe.md +++ b/HelpMe.md @@ -40,13 +40,13 @@ Thanks of several operations and option, you can tune a bit you rolling command. > kX -The option sorts the resulting die list and select the X better. +The option sorts the resulting die list and select the X best dice. ### Keep And Explose > KX -Dice explose if their value are at the die maximum, the option sorts the resulting die list, the it selects the X better. +Dice explose if their value are at the die maximum, the option sorts the resulting die list, the it selects the X best dice. ### Sorting -- cgit v1.2.3-70-g09d2 From a014afe5d0e23a8e7175dc0cabfda074cb77a057 Mon Sep 17 00:00:00 2001 From: "Renaud G." Date: Wed, 10 Dec 2014 11:15:41 +0100 Subject: Update HelpMe.md Arithmetic with Dice --- HelpMe.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'HelpMe.md') diff --git a/HelpMe.md b/HelpMe.md index af39a08..40a4f66 100644 --- a/HelpMe.md +++ b/HelpMe.md @@ -91,6 +91,39 @@ Result: 24 Result: 20 +> (3+4)*2 + +Result: 14 + +> 7/2 + +Result: 3.5 + +## + +It is possible to use arithmetic opearation on dice. Please pay attention that the default operation to translate a +dice list to scalar is the sum. So if you roll `3d6`, the result will be a list with 3 values {2, 5 ,1}. Now, we +change a bit the command `3d6+4`: It is resolved like this: {2, 5 ,1} = 8; 8+4 = 12. The final result is 12. + +> 3d6+4 + +Roll 3 dice; sum the result; and add 4 + +> 10D10-2 + +Roll 10 dice; sum the result; and then substract 2 + +> 87-1D20 + +Substract the result of 1 die to 87 + +> (6-4)D10 + +Substract 4 to 6 and then roll two dice. + +> 1D10/2 + +Divide by 2 the result of 1 die. ## Examples -- cgit v1.2.3-70-g09d2 From 75281ea2717a42d2d697d3a0111950521aa4cf1c Mon Sep 17 00:00:00 2001 From: "Renaud G." Date: Wed, 10 Dec 2014 15:40:27 +0100 Subject: Update HelpMe.md irc usage --- HelpMe.md | 50 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) (limited to 'HelpMe.md') diff --git a/HelpMe.md b/HelpMe.md index 40a4f66..c2b2e4c 100644 --- a/HelpMe.md +++ b/HelpMe.md @@ -1,5 +1,9 @@ # Documentation: +## Irc and Chat + +Please, remember it is important to preffix all you command by `!`. This will allow the system to identify your command. To clarify the documentation, the `!` is not repeated before all commands. + ## How to roll a die It is real simple. you have to call: @@ -99,7 +103,12 @@ Result: 14 Result: 3.5 -## +> (3+2D6)D10 + +Roll 2 dice and add 3 to the sum of those dice. Then the result is used for rolling dice. + + +## Arithmetic and Dice It is possible to use arithmetic opearation on dice. Please pay attention that the default operation to translate a dice list to scalar is the sum. So if you roll `3d6`, the result will be a list with 3 values {2, 5 ,1}. Now, we @@ -126,6 +135,45 @@ Substract 4 to 6 and then roll two dice. Divide by 2 the result of 1 die. +## Validator + +There are three kind of Validator: +-Scalar +-Range +-Boolean expression + + +Any operator which requires validator (such as `a,r,e,c') can use those three kind. + +# Scalar + +The scalar value sets the validator on eguality between the dice value and the validator + +> 4d10e10 + +This command means : roll 4 dice and they explose on 10. + +### Range + +The range is defined as two bound. You have to use square brackets and the two bound are separated by `-`. + +> 4d10c[8-10] + +The command counts how many dice have values between >=8 and <=10. + +> 4d10c[>7] + +The command counts how many dice are aboved 7. + +#### Logic Operator + +The Rolisteam Dice Parser allows you to use several logic operator: +> Egual : = +> Greater or egual : >= +> Lesser or egual : <= +> Lesser : < +> Greater : > + ## Examples > 3D100 -- cgit v1.2.3-70-g09d2 From 02e1ef12a934f500668f12c6524984cbf3ccfcf2 Mon Sep 17 00:00:00 2001 From: "Renaud G." Date: Wed, 10 Dec 2014 15:41:19 +0100 Subject: Update HelpMe.md better title for scalar --- HelpMe.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'HelpMe.md') diff --git a/HelpMe.md b/HelpMe.md index c2b2e4c..069ab0c 100644 --- a/HelpMe.md +++ b/HelpMe.md @@ -145,7 +145,7 @@ There are three kind of Validator: Any operator which requires validator (such as `a,r,e,c') can use those three kind. -# Scalar +### Scalar The scalar value sets the validator on eguality between the dice value and the validator -- cgit v1.2.3-70-g09d2 From 9110212b5fef5b60c8cd6989a31c88eee6a2d2ee Mon Sep 17 00:00:00 2001 From: "Renaud G." Date: Wed, 10 Dec 2014 15:42:27 +0100 Subject: Update HelpMe.md list of logic operator --- HelpMe.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'HelpMe.md') diff --git a/HelpMe.md b/HelpMe.md index 069ab0c..2a30798 100644 --- a/HelpMe.md +++ b/HelpMe.md @@ -168,11 +168,11 @@ The command counts how many dice are aboved 7. #### Logic Operator The Rolisteam Dice Parser allows you to use several logic operator: -> Egual : = -> Greater or egual : >= -> Lesser or egual : <= -> Lesser : < -> Greater : > +* Egual : = +* Greater or egual : >= +* Lesser or egual : <= +* Lesser : < +* Greater : > ## Examples -- cgit v1.2.3-70-g09d2 From 3b9716332fbbd0a81e554770a70f978d0f01fdeb Mon Sep 17 00:00:00 2001 From: "Renaud G." Date: Wed, 10 Dec 2014 15:44:08 +0100 Subject: Update HelpMe.md title --- HelpMe.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'HelpMe.md') diff --git a/HelpMe.md b/HelpMe.md index 2a30798..9a37daf 100644 --- a/HelpMe.md +++ b/HelpMe.md @@ -159,6 +159,8 @@ The range is defined as two bound. You have to use square brackets and the two b > 4d10c[8-10] +### Boolean Condition + The command counts how many dice have values between >=8 and <=10. > 4d10c[>7] -- cgit v1.2.3-70-g09d2