On CTCPREPLY » History » Revision 2
Revision 1 (Per Amundsen, 11/15/2015 03:21 AM) → Revision 2/4 (Per Amundsen, 11/15/2015 03:21 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 also [[on CTCP]], [[/ctcp]], [[/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>