# Disabled by default: remove # from the filename to enable this script.
# Public .status command
# Replaces a simple server/round status plugin.
!-- CustomCommand status
-- availableFor player remoteAdmin server
-- description "Shows current round and population information"
-- cooldown 3s
$roundTime = FormatDuration {RoundInfo duration} "MMm SSs"
$message = "Round time: {$roundTime}"
$message = $message + "
Players: {AmountOf @all} ({AmountOf @alivePlayers} alive)"
$message = $message + "
SCPs: {AmountOf @scpPlayers}"
$message = $message + "
Class-D: {AmountOf @classDPlayers} | Scientists: {AmountOf @scientistPlayers}"
$message = $message + "
Foundation: {AmountOf @foundationForcePlayers} | Chaos: {AmountOf @chaosInsurgencyPlayers}"
Reply $message