On ctcpreply
From Scriptwiki
The on CTCPREPLY event triggers when a user sends a standard CTCP reply to a CTCP that you initiated.
on <level>:CTCPREPLY:<matchtext>:<commands>
Examples:
on 1:CTCPREPLY:VERSION*:/echo $nick is using IRC client: $1-
This is triggered when a client replies to a CTCP VERSION request that you sent.
on 1:CTCPREPLY:PING*:/echo $nick replied to my ping!
This is triggered when a client replies to a CTCP PING request that you sent.