diff --git a/code/modules/tgs/includes.dm b/code/modules/tgs/includes.dm index b3c1728f34..764adbc3a9 100644 --- a/code/modules/tgs/includes.dm +++ b/code/modules/tgs/includes.dm @@ -14,6 +14,7 @@ #include "v5\_defines.dm" #include "v5\api.dm" #include "v5\commands.dm" +#include "v5\chat_commands.dm" #include "v5\undef.dm" /* diff --git a/code/modules/tgs/v5/chat_commands.dm b/code/modules/tgs/v5/chat_commands.dm new file mode 100644 index 0000000000..bc73602861 --- /dev/null +++ b/code/modules/tgs/v5/chat_commands.dm @@ -0,0 +1,15 @@ +/datum/tgs_chat_command/status + name = "status" + help_text = "Shows the current production server status" + admin_only = FALSE + +/datum/tgs_chat_command/status/Run(datum/tgs_chat_user/sender, params) + return "```Players logged in: [GLOB.clients.len] - Round Duration: [roundduration2text()]```" + +/datum/tgs_chat_command/parsetest + name = "parsetest" + help_text = "Shows the current production server status" + admin_only = FALSE + +/datum/tgs_chat_command/parsetest/Run(datum/tgs_chat_user/sender, params) + return "```You passed:[params]```"