Functions | |
int | irc_send_raw (irc_session_t *session, const char *format,...) |
Sends raw data to the IRC server. | |
int | irc_cmd_quit (irc_session_t *session, const char *reason) |
Sends QUIT command to the IRC server. | |
int | irc_cmd_user_mode (irc_session_t *session, const char *mode) |
Views or changes your own user mode. | |
int | irc_cmd_nick (irc_session_t *session, const char *newnick) |
Changes your nick. | |
int | irc_cmd_whois (irc_session_t *session, const char *nick) |
Queries the information about the nick. |
|
Changes your nick.
Possible error responces for this command from the RFC1459: |
|
Sends QUIT command to the IRC server.
|
|
Views or changes your own user mode.
Like channel mode, user mode is also represended by the letters combination. All the user mode letters are boolean (i.e. could only be set or reset), they are set by adding a plus sign before the letter, and reset by adding a minus sign before the letter. Here is the list of 'standard' user modes:
Note that the actual list of user modes depends on the IRC server, and can be bigger. If you know the popular user modes, which aren't mentioned here - please contact me at tim@krasnogorsk.ru Possible error responces for this command from the RFC1459:
And the mode information is given using reply code LIBIRC_RFC_RPL_UMODEIS |
|
Queries the information about the nick.
Possible error responces for this command from the RFC1459: And the information is returned using the following reply codes. The whois query is completed when LIBIRC_RFC_RPL_ENDOFWHOIS message is received. |
|
Sends raw data to the IRC server.
|