mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 01:25:10 +01:00
Adds a couple chat commands to tgs chatbot
This commit is contained in:
@@ -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"
|
||||
|
||||
/*
|
||||
|
||||
@@ -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]```"
|
||||
Reference in New Issue
Block a user