Add multi-delimiter split to CmdGive

This commit is contained in:
BlauFeuer 2018-03-05 20:16:52 -05:00 committed by GitHub
parent 4ad5f01193
commit 64f57da1e4

View file

@ -448,7 +448,7 @@ class CmdGive(COMMAND_DEFAULT_CLASS):
placing it in their inventory.
"""
key = "give"
rhs_split = " to "
rhs_split = ("=", " to ") # Prefer = delimiter, but allow " to " usage.
locks = "cmd:all()"
arg_regex = r"\s|$"