AwaymessageSet
From TrillWiki
The awaymessageSet function allows a plugin to set the global status to a specific named status.
Compatibility: 3.0 and higher
Contents |
Syntax
plugin_send(MYGUID,"awaymessageSet",awaymessage_entry_t *);
Note that all Trillian functions and notifications begin with a lower-case letter, despite the Wiki requirement that all pages start with a capital letter.
Parameters
AwaymessageSet utilitizes the awaymessage_entry_t structure.
struct awaymessage_entry_t
{
unsigned int struct_size;
char *name;
};
- name
- The name of the away message, as found via awaymessageEnumerate.
Return Value
Returns 0 on success, a negative value on failure.
Remarks
None.
