On CTCPREPLY » History » Version 3
Per Amundsen, 11/16/2015 04:23 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 | 3 | Per Amundsen | _See also [[on CTCP]], [[/ctcp]], [[/ctcpreply]]._ |
| 8 | 2 | Per Amundsen | |
| 9 | 1 | Per Amundsen | *Parameters* |
| 10 | |||
| 11 | <level> - The level for the event to trigger. |
||
| 12 | <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> |