Project

General

Profile

On CTCP » History » Revision 4

Revision 3 (Per Amundsen, 02/24/2017 09:35 PM) → Revision 4/6 (Per Amundsen, 07/28/2018 09:28 PM)

_Added in 1.9.0_ 

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

 Triggers whenever you receive a CTCP request. 

 _See also [[/ctcp]], [[/ctcpreply]], [[on CTCPREPLY]]._ 

 *Parameters* 

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

 *Example* 

 <pre> 
 ; Disable CTCP version reply. 
 CTCP *:VERSION:*:halt 

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