aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/HelpMe.md
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-10-08 12:52:38 +0200
committerGitHub <noreply@github.com>2018-10-08 12:52:38 +0200
commitfe9b3dd57e908931bf303b0e11432427680976ab (patch)
tree6d4c79f15345dfbc9f03750deedcfb8a9ea2aee6 /HelpMe.md
parent18dde796ae61efd1699fb52e5aa16492bfd6bc54 (diff)
downloadOneRoll-fe9b3dd57e908931bf303b0e11432427680976ab.tar.gz
OneRoll-fe9b3dd57e908931bf303b0e11432427680976ab.zip
Update HelpMe.md
fix add
Diffstat (limited to 'HelpMe.md')
-rw-r--r--HelpMe.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/HelpMe.md b/HelpMe.md
index bd6ef36..2da834c 100644
--- a/HelpMe.md
+++ b/HelpMe.md
@@ -670,13 +670,13 @@ There are two kinds of macro: normal ones and regular-expression-based.
The first kind the conversion it is just a replacement.
-> !macro add k d10e10k
+> !macro k d10e10k
The user input (8k4) becomes 8d10e10k4 (l5r system). As you can see the k has been replaced by the macro value.
In more complexe situations, control/change some parts inside the command can be achieved by using regular-expression based macro.
-> !macro add ([0-9]+)w([0-9]+) \1d10e10c[>=\2]-@c[=1] 1
+> !macro ([0-9]+)w([0-9]+) \1d10e10c[>=\2]-@c[=1] 1
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).