Added in 1.9.0

CTCP <level>:<matchtext>:<*|#|?>:<commands>

Triggers whenever you receive a CTCP request.

See also /ctcp, /ctcpreply, on CTCPREPLY, $filename.

Also trigger when receiving a DCC CHAT/SEND request, but the text is not haltable in this case.


<level> - The User Access Level for the event to trigger.
<matchtext> - The Matchtext to listen to.
<*|#|?> - The Matchtarget to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.


; Disable CTCP version reply.

; Reply with a custom version.
CTCP *:VERSION:*:ctcpreply $nick IRC Version 42 | halt