Files
CHOMPStation2/code/defines/procs/command_alert.dm
SkyMarshal b5415335d3 Fixed a few runtimes, added debug verbs to help find WTF is up with DNA and 'prints
Improved how disabilities are handled
Fixed some stupid from googol's "smallsize" power
2012-02-18 12:45:01 -07:00

10 lines
308 B
Plaintext

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