Dsay runtime

This commit is contained in:
SoundScopes
2015-02-28 10:13:41 +00:00
parent 26b2d7418b
commit fe333f320a
+4 -1
View File
@@ -30,7 +30,7 @@
stafftype = "EVENT"
msg = copytext(sanitize(msg), 1, MAX_MESSAGE_LEN)
log_admin("[key_name(src)] : [msg]")
log_admin("DSAY: [key_name(src)] : [msg]")
if (!msg)
return
@@ -41,6 +41,9 @@
if (istype(M, /mob/new_player))
continue
if(!M.client)
continue
if(M.client && M.client.holder && (M.client.prefs.toggles & CHAT_DEAD)) // show the message to admins who have deadchat toggled on
M.show_message(rendered, 2)