diff options
| author | 2018-10-08 12:52:38 +0200 | |
|---|---|---|
| committer | 2018-10-08 12:52:38 +0200 | |
| commit | fe9b3dd57e908931bf303b0e11432427680976ab (patch) | |
| tree | 6d4c79f15345dfbc9f03750deedcfb8a9ea2aee6 /HelpMe.md | |
| parent | 18dde796ae61efd1699fb52e5aa16492bfd6bc54 (diff) | |
| download | OneRoll-fe9b3dd57e908931bf303b0e11432427680976ab.tar.gz OneRoll-fe9b3dd57e908931bf303b0e11432427680976ab.zip | |
Update HelpMe.md
fix add
Diffstat (limited to 'HelpMe.md')
| -rw-r--r-- | HelpMe.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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). |