This event is activated when you receive a reply from a ctcp request that you made (with the ctcp command). For example, if you did:
ctcp BigCheese VERSIONyou would receive a:
*** CTCP REPLY VERSION from BigCheese: IRCII 2.1beta2 Unixfrom BigCheese. However, if you had:
on ^CTCP_REPLY "* VERSION" /echo $0 is using $2-and did the CTCP show above, you would get something like:
BigCheese is using IRCII 2.1beta2 UnixThe parameters are:
$0 nick of person who sent the reply $1 target of the reply $2 The CTCP command being replied to $3- The reply itself (depends on $1)Note: You may NOT use the ctcp command in an ON CTCP_REPLY. It simply will report an error message to you and not work. It is illegal to do this and it is not supported.
Note that in ircII 20020902 and earlier, $1 is not the target of the reply, but the CTCP command, and $2- is the message. For example:
IF (V > 20020902) { ON CTCP_REPLY "% % % *" ECHO ctcp reply type $2 from $0 to $1: $3- } { ON CTCP_REPLY "% % *" ECHO ctcp reply type $1 to $0: $2- }