Project

General

Profile

Ctcpreply » History » Revision 6

Revision 5 (Per Amundsen, 10/05/2015 01:02 AM) → Revision 6/7 (Per Amundsen, 11/15/2015 03:22 AM)

_Added in 1.9.0_ 

 */ctcpreply <nick> <ctcp> [message]* 

 Sends a reply to a ctcp query. 

 See also [[on CTCP]], [[on CTCPREPLY]], [[/ctcp]]. 

 *Parameters* 

 <nick> - The nick to reply. 
 <ctcp> - The ctcp result to reply. 
 [message] - The ctcp result message to reply. 

 *Example* 

 <pre> 
 ; Listen to a TIME CTCP request. 
 ctcp *:TIME:*:{ 
 
   ; Send two ctcp replies. 
   /ctcpreply $nick TIME Current time: $time(hh:nn:ss TT (ZZZ)) 
   /ctcpreply $nick TIME Current Data: $time(dddd $+ $chr(44) mmmm dd $+ $chr(44) 2009) 
 
   ; Stop AdiIRC's standard ctcp reply. 
   halt 
 } 
 </pre>