Tgs chatcommand runtime (#7817)

This commit is contained in:
Kashargul
2024-02-23 22:19:07 +01:00
committed by GitHub
parent 65c2e364ce
commit 2a70e36ff8

View File

@@ -16,13 +16,13 @@
var/client/C = X
if(C)
counts++
if(C && !(istype(C.mob,/mob/new_player) || istype(C.mob, /mob/observer)))
if(C && C.mob && isbelly(C.mob.loc))
bellied++
if(C.is_afk())
afks++
else
active++
if(!(istype(C.mob,/mob/new_player) || istype(C.mob, /mob/observer)))
if(C.mob && isbelly(C.mob.loc))
bellied++
if(C.is_afk())
afks++
else
active++
return "Current server status:\n**Web Manifest:** <http://manifest.chompstation13.net/>\n**Players:** [counts]\n**Active:** [active]\n**Bar Statues:** [afks]\n**Bellied:** [bellied]\n\n**Round Duration:** [roundduration2text()]" //CHOMPEdit