The 'gm' command should be an emote

This will keep to the short descriptions if /target is mentioned.
This commit is contained in:
Howard Abrams 2025-05-10 22:00:07 -07:00
parent c72a86f615
commit 8a542e2f77

View file

@ -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)