Project

General

Profile

On CTCP » History » Version 3

Per Amundsen, 02/24/2017 09:35 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 3 Per Amundsen
<level> - The [[User Access Level]] for the event to trigger.
12 1 Per Amundsen
<matchtext> - The [[Matchtext]] to listen to.
13
<*|#|?> - The [[Matchtarget]] to listen to.
14
<commands> - The commands to be performed when the event listener's criteria is met.
15
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>