diff --git a/code/world.dm b/code/world.dm index 5c9e86d963f5..5f60f4aa5cf2 100644 --- a/code/world.dm +++ b/code/world.dm @@ -210,6 +210,15 @@ var/world_topic_spam_protect_time = world.timeofday return show_player_info_irc(input["notes"]) + else if (copytext(T,1,9) == "announce") + var/input[] = params2list(T) + if(config.comms_password) + if(input["key"] != config.comms_password) + return "Bad Key" + else + for(var/client/C in clients) + C << "PR: [input["announce"]]" + /world/Reboot(var/reason, var/feedback_c, var/feedback_r, var/time) if (reason == 1) //special reboot, do none of the normal stuff if(usr)