The 'gm' command should be an emote
This will keep to the short descriptions if /target is mentioned.
This commit is contained in:
parent
c72a86f615
commit
8a542e2f77
1 changed files with 4 additions and 1 deletions
|
|
@ -61,9 +61,12 @@ class CmdGM(MuxCommand):
|
|||
if not send_to:
|
||||
send_to = [self.caller.location]
|
||||
|
||||
me = self.caller
|
||||
|
||||
for o in send_to:
|
||||
if o.is_typeclass('typeclasses.rooms.Room'):
|
||||
o.msg_contents(self.args)
|
||||
chars = o.contents_get(None, 'character')
|
||||
send_emote(me, chars, self.args, 'say', None)
|
||||
elif o.is_typeclass('typeclasses.characters.Character'):
|
||||
o.msg(self.args)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue