Scrolling through the tutorials, I found a script that displays players in the server when joining and quitting.
function playerCount ( )
outputChatBox("#ff8800[server]: #ffffffPlayers: #ffffff(" .. getPlayerCount() .. "#ffffff)" , root, 255, 0, 0, true)
end
addEventHandler ( "onPlayerJoin", getRootElement(), playerCount )
addEventHandler ( "onPlayerQuit", getRootElement(), playerCount )
What would I have to add to trigger it with a command, such as "/players"?