Project

General

Profile

On CTCPREPLY » History » Revision 3

Revision 2 (Per Amundsen, 11/15/2015 03:21 AM) → Revision 3/4 (Per Amundsen, 11/16/2015 04:23 AM)

_Added in 1.9.0_ 

 *<notextile>on <level>:CTCPREPLY:<matchtext>:<commands></notextile>* 

 Triggers when you receive a ctcp reply to a [[/ctcp]] request that you initiated. 

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

 *Parameters* 

 <level> - The level for the event to trigger. 
 <matchtext> - The [[Matchtext]] to listen to. 
 <commands> - The commands to be performed when the event listener's criteria is met. 

 *Example* 

 <pre> 
 ; Listen for CTCPREPLY events matching 'VERSION*' and print the reply. 
 on *:CTCPREPLY:VERSION*:/echo -ag $nick is using IRC client: $1- 

 ; Send a ctcp request 'VERSION' to 'Nick' 
 /ctcp Nick VERSION 
 </pre>