OnAction

OnAction Someone issued a CTCP ACTION
Parameters
    $0 = Source nickname
    $1 = Source username
    $2 = Source hostname
    $3 = Message target
    $4 = Action message text
    $5 = Message tags
    $6 = Was encrypted
Window
Channels and query windows
Description
This event is triggered when a remote user issues a CTCP ACTION. (The CTCP ACTION is usually triggered by the /me command). The parameters $0-$2 identify the source user. $3 identifies the message target and can be one of the following: - The local user nickname : this is a private CTCP ACTION and is triggered inside a query window. - A channel name : this is a channel CTCP ACTION and is triggered in the channel window. - Any other string : this is either a broadcast CTCP ACTION (sent by a privileged user to a subset of clients) or a sign of the server brain damage :D In this case the event is triggered in the console window. $5 is a hash of the current message tags, if available. $6 will be 1 if the message was encrypted and 0 otherwise. Calling halt in this event stops the message output.

Index, Events