diff --git a/evennia/utils/nested_inlinefuncs.py b/evennia/utils/nested_inlinefuncs.py index 7708525cde..0555fb8656 100644 --- a/evennia/utils/nested_inlinefuncs.py +++ b/evennia/utils/nested_inlinefuncs.py @@ -101,20 +101,6 @@ def crop(*args, **kwargs): return utils.crop(text, width=width, suffix=suffix) -def clr(*args, **kwargs): - """ - Colorize text. $crop{clr, text} - - """ - clr, text = "|n", "" - nargs = len(args) - if nargs > 0: - clr = args[0] - if nargs > 1: - text = args[1] - return "|" + clr.lstrip("|") + text + "|n" - - # we specify a default nomatch function to use if no matching func was # found. This will be overloaded by any nomatch function defined in # the imported modules. @@ -140,8 +126,8 @@ except AttributeError: _RE_STARTTOKEN = re.compile(r"(?.*?)(?.*?)(?.*?)(?.*?)(?(?(?(?