Project

General

Profile

On CTCPREPLY » History » Version 4

Per Amundsen, 02/24/2017 09:41 PM

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 3 Per Amundsen
_See also [[on CTCP]], [[/ctcp]], [[/ctcpreply]]._
8 2 Per Amundsen
9 1 Per Amundsen
*Parameters*
10
11 4 Per Amundsen
<level> - The [[User Access Level]] for the event to trigger.
12 1 Per Amundsen
<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>