Project

General

Profile

On CTCP » History » Revision 2

Revision 1 (Per Amundsen, 11/15/2015 03:08 AM) → Revision 2/6 (Per Amundsen, 11/16/2015 04:23 AM)

_Added in 1.9.0_ 

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

 Triggers whenever you receive a CTCP request. 

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

 *Parameters* 

 <level> - The 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* 

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

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