Changes to aooc

This commit is contained in:
volas
2015-03-09 22:59:52 +03:00
parent e4e8ef3392
commit 5fa66b2a8a

View File

@@ -1,10 +1,11 @@
/client/proc/aooc()
set category = "Admin"
set name = "Antag OOC"
/client/proc/aooc(msg as text)
set category = "OOC"
set name = "AOOC"
set desc = "Antagonist OOC"
if(!check_rights(R_ADMIN)) return
var/msg = sanitize(copytext(input(usr, "", "Antag OOC") as text, 1, MAX_MESSAGE_LEN))
msg = sanitize(copytext(msg, 1, MAX_MESSAGE_LEN))
if(!msg) return
var/display_name = src.key
@@ -15,4 +16,4 @@
if((M.mind && M.mind.special_role && M.client) || (M.client && M.client.holder))
M << "<font color='#960018'><span class='ooc'>" + create_text_tag("aooc", "Antag-OOC:", M.client) + " <EM>[display_name]:</EM> <span class='message'>[msg]</span></span></font>"
log_ooc("Antag-OOC: [key] : [msg]")
log_ooc("(ANTAG) [key] : [msg]")