From 1990d911ee525f743d7a3547a3a45171998ff007 Mon Sep 17 00:00:00 2001 From: "sieve32@gmail.com" Date: Mon, 29 Oct 2012 17:10:35 +0000 Subject: [PATCH] Added the 'says','exclaims','asks' filter to the 'Me' emote as well git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4980 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/living/carbon/human/emote.dm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/modules/mob/living/carbon/human/emote.dm b/code/modules/mob/living/carbon/human/emote.dm index 4ed4c1126ee..52b3472c444 100644 --- a/code/modules/mob/living/carbon/human/emote.dm +++ b/code/modules/mob/living/carbon/human/emote.dm @@ -85,6 +85,15 @@ return if(!(message)) return + if(copytext(message,1,5) == "says") + src << "\red Invalid emote." + return + else if(copytext(message,1,9) == "exclaims") + src << "\red Invalid emote." + return + else if(copytext(message,1,5) == "asks") + src << "\red Invalid emote." + return else message = "[src] [message]"