From c72a86f6157419572f42ea88d1809457cc8209b4 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Sat, 10 May 2025 21:59:07 -0700 Subject: [PATCH] Change the say with ! to be an exclaim instead of yell --- commands/everyone.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/commands/everyone.py b/commands/everyone.py index d311251..9b79052 100755 --- a/commands/everyone.py +++ b/commands/everyone.py @@ -82,6 +82,7 @@ class CmdSay(MuxCommand): Where switches can be any of the following: + - exclaim : To replace 'says' with 'exclaims' - yell : To replace 'says' with 'yells' - scream : To replace 'says' with 'screams' - ask : To replace 'says' with 'asks' @@ -99,7 +100,7 @@ class CmdSay(MuxCommand): """ key = "say" - aliases = ["speak", "yell", "scream", "ask", "reply", "respond", "\"", "'"] + aliases = ["speak", "yell", "exclaim", "scream", "ask", "reply", "respond", "\"", "'"] priority = 0 locks = "cmd:all()" rhs_split = ("=") @@ -161,8 +162,10 @@ class CmdSay(MuxCommand): verb = 'respond' elif 'reply' in self.switches or self.cmdstring == 'reply': verb = 'reply' - elif 'yell' in self.switches or self.cmdstring == 'yell' or speech.endswith('!'): + elif 'yell' in self.switches or self.cmdstring == 'yell': verb = 'yell' + elif 'exclaim' in self.switches or self.cmdstring == 'exclaim' or speech.endswith('!'): + verb = 'exclaim' elif 'ask' in self.switches or self.cmdstring == 'ask' or speech.endswith('?'): verb = 'ask' else: