Project

General

Profile

On CTCP » History » Version 4

Per Amundsen, 07/28/2018 09:28 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*<notextile>CTCP <level>:<matchtext>:<*|#|?>:<commands></notextile>*
4
5
Triggers whenever you receive a CTCP request.
6
7 2 Per Amundsen
_See also [[/ctcp]], [[/ctcpreply]], [[on CTCPREPLY]]._
8 1 Per Amundsen
9
*Parameters*
10
11 4 Per Amundsen
&lt;level&gt; - The [[User Access Level]] for the event to trigger.
12
&lt;matchtext&gt; - The [[Matchtext]] to listen to.
13
&lt;*|#|?&gt; - The [[Matchtarget]] to listen to.
14
&lt;commands&gt; - The commands to be performed when the event listener's criteria is met.
15 1 Per Amundsen
16
*Example*
17
18
<pre>
19
; Disable CTCP version reply.
20
CTCP *:VERSION:*:halt
21
22
; Reply with a custom version.
23
CTCP *:VERSION:*:ctcpreply $nick IRC Version 42 | halt
24
</pre>