Enumeration

PurpleCmdFlag

since: 2.0

Declaration

enum Purple.CmdFlag

Description [src]

Flags used to set various properties of commands. Every command should have at least one of #PURPLE_CMD_FLAG_IM and #PURPLE_CMD_FLAG_CHAT set in order to be even slightly useful.

See purple_cmd_register().

Available since: 2.0

Members

Name Description
PURPLE_CMD_FLAG_IM

Command is usable in IMs.

PURPLE_CMD_FLAG_CHAT

Command is usable in multi-user chats.

PURPLE_CMD_FLAG_PROTOCOL_ONLY

Command is usable only for a particular protocol.

PURPLE_CMD_FLAG_ALLOW_WRONG_ARGS

Incorrect arguments to this command should be accepted anyway.