On CTCPREPLY » History » Version 1
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 | *Parameters* |
||
8 | |||
9 | <level> - The level for the event to trigger. |
||
10 | <matchtext> - The [[Matchtext]] to listen to. |
||
11 | <commands> - The commands to be performed when the event listener's criteria is met. |
||
12 | |||
13 | *Example* |
||
14 | |||
15 | <pre> |
||
16 | ; Listen for CTCPREPLY events matching 'VERSION*' and print the reply. |
||
17 | on *:CTCPREPLY:VERSION*:/echo -ag $nick is using IRC client: $1- |
||
18 | |||
19 | ; Send a ctcp request 'VERSION' to 'Nick' |
||
20 | /ctcp Nick VERSION |
||
21 | </pre> |