From 72804963a02f2c168b900e7a57590f0c13c07bea Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Wed, 24 Jun 2020 08:30:16 -0700 Subject: [PATCH] Update say.dm --- code/game/say.dm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/code/game/say.dm b/code/game/say.dm index b66c063761..6b923d4e83 100644 --- a/code/game/say.dm +++ b/code/game/say.dm @@ -146,9 +146,12 @@ GLOBAL_LIST_INIT(freqtospan, list( return "[copytext_char("[freq]", 1, 4)].[copytext_char("[freq]", 4, 5)]" /atom/movable/proc/attach_spans(input, list/spans) - var/customsayverb = findtext(input, "*") - if(customsayverb) - input = capitalize(copytext(input, customsayverb + length(input[customsayverb]))) + if(input[1] == "!") + input = copytext(input, 1, length(input) + 1) + else + var/customsayverb = findtext(input, "*") + if(customsayverb) + input = capitalize(copytext(input, customsayverb + length(input[customsayverb]))) if(input) return "[message_spans_start(spans)][input]" else