Project

General

Profile

On CTCPREPLY » History » Version 2

Per Amundsen, 11/15/2015 03:21 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*<notextile>on <level>:CTCPREPLY:<matchtext>:<commands></notextile>*
4
5
Triggers when you receive a ctcp reply to a [[/ctcp]] request that you initiated.
6
7 2 Per Amundsen
See also [[on CTCP]], [[/ctcp]], [[/ctcpreply]].
8
9 1 Per Amundsen
*Parameters*
10
11
<level> - The level for the event to trigger.
12
<matchtext> - The [[Matchtext]] to listen to.
13
<commands> - The commands to be performed when the event listener's criteria is met.
14
15
*Example*
16
17
<pre>
18
; Listen for CTCPREPLY events matching 'VERSION*' and print the reply.
19
on *:CTCPREPLY:VERSION*:/echo -ag $nick is using IRC client: $1-
20
21
; Send a ctcp request 'VERSION' to 'Nick'
22
/ctcp Nick VERSION
23
</pre>