From fe9b3dd57e908931bf303b0e11432427680976ab Mon Sep 17 00:00:00 2001 From: Renaud G Date: Mon, 8 Oct 2018 12:52:38 +0200 Subject: Update HelpMe.md fix add --- HelpMe.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'HelpMe.md') 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). -- cgit v1.2.3-70-g09d2