enum cmd_echo command_echo(const struct command *pcommand)
Returns the flag of the command to notify the users about its usage.
const char * command_name(const struct command *pcommand)
Return name of the command.
int command_vote_percent(const struct command *pcommand)
Returns the vote percent required for this command to pass in a vote.
const struct command * command_by_number(int i)
Return command by its number.
const char * command_short_help(const struct command *pcommand)
Returns the short help text of the command (translated).
char * command_extra_help(const struct command *pcommand)
Returns the extra help text of the command (translated).
int command_vote_flags(const struct command *pcommand)
Returns a bit-wise combination of all vote flags set for this command.
enum cmdlevel command_level(const struct command *pcommand)
What is the permissions level required for running the command?
const char * command_name_by_number(int i)
Return name of the command by commands number.
const char * command_synopsis(const struct command *pcommand)
Returns the synopsis text of the command (translated).