Nicklist defaultAction
From TrillWiki
The nicklist_defaultAction notification is sent when a user double clicks on an item in the nicklist of a chat window.
Compatibility: 2.0 and higher
Contents |
Syntax
callback(int window_id, char *icontrol, "nicklist_defaultAction", NULL, void *userData);
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
Nicklist defaultAction utilitizes the NONE structure.
There is no structure used for this function or notification. For functions, the parameter passed to plugin_send should be a NULL. For notifications, the 'data' field may still contain a parameter, but it will not be a structure; if so, it will be detailed below.
Nothing is sent along with this message but for the userData.
Return Value
Must return 0.
Remarks
To determine the nicklist item that was clicked, the user data is passed that was given when the nicklist item was created.
