Files
CHOMPStation2/code/defines/procs/command_alert.dm
vageyenaman@gmail.com 313d99d003 ○ Fixes for announcements and comm consoles.
○ FINALLY FIXED THE REQUEST CONSOLES BEING SHITTY WOOOOOOOO
○ You can now do line breaks in the admin centcom announcements, just simply hit enter.

○ You can now name portable / constructed turrets properly by using a pen on their frame before you finalize the construction. Joy!


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2449 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-29 20:20:39 +00:00

10 lines
283 B
Plaintext

/proc/command_alert(var/text, var/title = "")
world << "<h1 class='alert'>[command_name()] Update</h1>"
if (title && length(title) > 0)
world << "<h2 class='alert'>[html_encode(title)]</h2>"
world << "<span class='alert'>[html_encode(text)]</span>"
world << "<br>"