More test stuff

This commit is contained in:
Jordan Brown
2020-04-28 15:16:02 -04:00
parent fa5f6166b2
commit 84e7f38118
2 changed files with 104 additions and 12 deletions
+13
View File
@@ -18,3 +18,16 @@
/world/Reboot(reason)
TgsReboot()
/datum/tgs_chat_command/reboot
name = "echo"
help_text = "echos input parameters"
/datum/tgs_chat_command/reboot/Run(datum/tgs_chat_user/sender, params)
set waitfor = FALSE
RebootAsync()
return "Echo: [sender.channel.connection_name]|[sender.channel.friendly_name]|[sender.friendly_name]: [params]. Rebooting..."
/proc/RebootAsync()
sleep(30)
world.Reboot()