mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
13 lines
395 B
Plaintext
13 lines
395 B
Plaintext
/proc/command_alert(var/text, var/title = "")
|
|
var/command
|
|
command += "<h1 class='alert'>[command_name()] Update</h1>"
|
|
if (title && length(title) > 0)
|
|
command += "<br><h2 class='alert'>[html_encode(title)]</h2>"
|
|
|
|
|
|
command += {"<br><span class='alert'>[html_encode(text)]</span><br>
|
|
<br>"}
|
|
for(var/mob/M in player_list)
|
|
if(!istype(M,/mob/new_player) && M.client)
|
|
to_chat(M, command)
|