mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-05 23:11:52 +00:00
15 lines
350 B
Plaintext
15 lines
350 B
Plaintext
/mob/abstract/observer/say(var/message)
|
|
message = sanitize(message)
|
|
|
|
if (!message)
|
|
return
|
|
|
|
log_say("Ghost/[src.key] : [message]",ckey=key_name(src))
|
|
|
|
if (src.client)
|
|
if(src.client.prefs.muted & (MUTE_DEADCHAT|MUTE_IC))
|
|
to_chat(src, "<span class='warning'>You cannot talk in deadchat (muted).</span>")
|
|
return
|
|
|
|
. = src.say_dead(message)
|