Add multi-delimiter split to CmdGive

This commit is contained in:
BlauFeuer 2018-03-05 20:16:52 -05:00 committed by GitHub
parent 87d32abedd
commit 4a0f13804e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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|$"