From 8a542e2f77ab59ae1600b724147c6cf51997a784 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Sat, 10 May 2025 22:00:07 -0700 Subject: [PATCH] The 'gm' command should be an emote This will keep to the short descriptions if /target is mentioned. --- commands/wizards.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/commands/wizards.py b/commands/wizards.py index 4eb8235..a9a5e67 100755 --- a/commands/wizards.py +++ b/commands/wizards.py @@ -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)