Function

Purplesay_command_new

unstable since: 3.0

Declaration [src]

PurpleCommand*
purple_say_command_new (
  void
)

Description [src]

Creates a new say command.

The say command creates a message from the parameters and writes it to the conversation. This is typically used in combination with the alias command to create shortcut commands.

The say command has no tags meaning it will be available in all conversations.

Available since: 3.0

Return value

Type: PurpleCommand

The new instance.

The caller of the function takes ownership of the data, and is responsible for freeing it.