aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/HelpMe.md
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-12-16 21:29:46 +0100
committerGitHub <noreply@github.com>2018-12-16 21:29:46 +0100
commit747ad7d4edca9a37a94603cb25253ebf6833eee0 (patch)
tree28c1b297f3565f79cecf26abf49f45795a8e3ec1 /HelpMe.md
parent6cf27a39e9b8f8c5c463f431ae585381d8a7c25e (diff)
downloadOneRoll-747ad7d4edca9a37a94603cb25253ebf6833eee0.tar.gz
OneRoll-747ad7d4edca9a37a94603cb25253ebf6833eee0.zip
Update HelpMe.md
Add mandatory parameter.
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