On CTCP » History » Revision 5
« Previous |
Revision 5/6
(diff)
| Next »
Per Amundsen, 11/17/2018 02:45 AM
Added in 1.9.0
CTCP <level>:<matchtext>:<*|#|?>:<commands>
Triggers whenever you receive a CTCP request.
See also /ctcp, /ctcpreply, on CTCPREPLY.
Also trigger when receiving a DCC CHAT/SEND request, but the text is not haltable in this case.
Parameters
<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.
Example
; Disable CTCP version reply. CTCP *:VERSION:*:halt ; Reply with a custom version. CTCP *:VERSION:*:ctcpreply $nick IRC Version 42 | halt
Updated by Per Amundsen about 6 years ago · 5 revisions