Atrinik Server  4.0
Functions | Variables
stats.c File Reference
#include <global.h>
#include <toolkit/string.h>

Go to the source code of this file.

Functions

void command_stats (object *op, const char *command, char *params)
 

Variables

static const char *const stats []
 

Detailed Description

Implements the /stats command.

Author
Alex Tokar

Definition in file stats.c.

Function Documentation

void command_stats ( object op,
const char *  command,
char *  params 
)

Format for a command handler function.

Parameters
opThe player.
commandThe command's name.
paramsOptional arguments for the command.

Definition at line 44 of file stats.c.

Variable Documentation

const char* const stats[]
static
Initial value:
= {
"mempool", "shstr", "metaserver",
NULL
}

Names of the possible stat types. Must end with NULL.

Definition at line 38 of file stats.c.