Files
CHOMPStation2/code/defines/procs/command_alert.dm

10 lines
277 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'>[sanitize(title)]</h2>"
world << "<span class='alert'>[sanitize(text)]</span>"
world << "<br>"