From 498e3f50640df54f78e478e29a4f6b1e3a34719a Mon Sep 17 00:00:00 2001 From: Griatch Date: Sat, 25 Oct 2014 13:59:22 +0200 Subject: [PATCH] Added some more inlinefunc docs. --- src/utils/inlinefunc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/inlinefunc.py b/src/utils/inlinefunc.py index 38d4298b9..34c330175 100644 --- a/src/utils/inlinefunc.py +++ b/src/utils/inlinefunc.py @@ -4,6 +4,8 @@ Inlinefunc This is a simple inline text language for use to custom-format text in Evennia. It is applied BEFORE ANSI/MUX parsing is applied. +To activate Inlinefunc, settings.INLINEFUNC_ENABLED must be set. + The format is straightforward: @@ -18,7 +20,7 @@ Example: This can be inserted in any text, operated on by the parse_inlinefunc function. funcname() (no space is allowed between the name and the argument tuple) is picked from a selection of valid functions from -settings.INLINETEXT_FUNC_MODULES. +settings.INLINEFUNC_MODULES. Commands can be nested, and will applied inside-out. For correct parsing their end-tags must match the starting tags in reverse order.