aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/HelpMe.md
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-12-19 23:40:23 +0100
committerRenaud G <renaud@rolisteam.org>2018-12-19 23:40:23 +0100
commit1eb8c0de4e7a2ff7c9ea1d3e2091524a5e67ad25 (patch)
tree55e014b57135e85511c6a2adafb90e42aae94eca /HelpMe.md
parent517dcb09609999dd96390a7db1690a35bf39508f (diff)
parent747ad7d4edca9a37a94603cb25253ebf6833eee0 (diff)
downloadOneRoll-1eb8c0de4e7a2ff7c9ea1d3e2091524a5e67ad25.tar.gz
OneRoll-1eb8c0de4e7a2ff7c9ea1d3e2091524a5e67ad25.zip
Merge branch 'master' of github.com:Rolisteam/DiceParser
Diffstat (limited to 'HelpMe.md')
-rw-r--r--HelpMe.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/HelpMe.md b/HelpMe.md
index 2bd1e02..26a8122 100644
--- a/HelpMe.md
+++ b/HelpMe.md
@@ -678,9 +678,10 @@ There are two kinds of macro: normal ones and regular-expression-based.
The first kind the conversion it is just a replacement.
-> !macro k d10e10k
+> !macro k d10e10k 0
The user input (8k4) becomes 8d10e10k4 (l5r system). As you can see the k has been replaced by the macro value.
+The third parameter 0 describes this macro as a simple replacement. The third parameter is mandatory.
In more complexe situations, control/change some parts inside the command can be achieved by using regular-expression based macro.
@@ -689,8 +690,6 @@ In more complexe situations, control/change some parts inside the command can be
The 1 at the end means "this command has regular-expression".
The user input (8w6) becomes 8d10e10c[>=6]-@c[=1] (old world of darkness system).
-**ATTENTION**: the system does not support space character into command. Use _ instead for the moment.
-
## Remove macro
> !macro rm 0