Project

General

Profile

On CTCP » History » Version 1

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

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
See also [[/ctcp]], [[/ctcpreply]], [[on CTCPREPLY]].
8
9
*Parameters*
10
11
<level> - The level for the event to trigger.
12
<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>