EVENT (new IRCX command)

Add/Change/Delete event logging to the client connection. The list of event types and the way masks are applied is not specified here.

Syntax 1:

EVENT [ADD | DELETE] <event> [<mask>]

Syntax 2:

EVENT LIST [<event>]

Parameters

<event> Type of event, such as CHANNEL, MEMBER, SERVER, CONNECTION, SOCKET or USER.

<mask> Optional mask for applying a selection criteria per event.

Results

IRCRPL_EVENTADD
IRCRPL_EVENTDEL
IRCRPL_EVENTSTART
IRCRPL_EVENTLIST
IRCRPL_EVENTEND

Possible Errors

ERR_NEEDMOREPARAMS
ERR_NOPRIVILEGES
IRCERR_BADFUNCTION
IRCERR_EVENTDUP
IRCERR_EVENTMIS
IRCERR_NOSUCHEVENT
IRCERR_TOOMANYEVENTS

Remarks

The EVENT command can be used by other server implementations to define the events that a sysop manager or sysop of the server wishes to be notified of. Only sysop managers and/or sysops are allowed to receive event messages.

Examples

Example 3.9. Add channel events

Client: EVENT ADD CHANNEL
Server: :<server> 806 <nick> CHANNEL *!*@*$*

Example 3.10. List all events with no active events returned

Client: EVENT LIST
Server: :<server> 808 <nick> :Start of events