Added swap alias to the type command. Resolves #718.
This commit is contained in:
parent
ff9f385123
commit
5ec2030d83
1 changed files with 2 additions and 2 deletions
|
|
@ -1474,7 +1474,7 @@ class CmdTypeclass(MuxCommand):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
key = "@typeclass"
|
key = "@typeclass"
|
||||||
aliases = "@type, @parent"
|
aliases = ["@type", "@parent", "@swap"]
|
||||||
locks = "cmd:perm(typeclass) or perm(Builders)"
|
locks = "cmd:perm(typeclass) or perm(Builders)"
|
||||||
help_category = "Building"
|
help_category = "Building"
|
||||||
|
|
||||||
|
|
@ -1484,7 +1484,7 @@ class CmdTypeclass(MuxCommand):
|
||||||
caller = self.caller
|
caller = self.caller
|
||||||
|
|
||||||
if not self.args:
|
if not self.args:
|
||||||
caller.msg("Usage: @type <object> [=<typeclass]")
|
caller.msg("Usage: %s <object> [=<typeclass]" % self.cmdstring)
|
||||||
return
|
return
|
||||||
|
|
||||||
# get object to swap on
|
# get object to swap on
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue