Ctcpreply » History » Version 7
Per Amundsen, 02/16/2023 02:11 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | 4 | Per Amundsen | */ctcpreply <nick> <ctcp> [message]* |
| 4 | 1 | Per Amundsen | |
| 5 | Sends a reply to a ctcp query. |
||
| 6 | |||
| 7 | 6 | Per Amundsen | See also [[on CTCP]], [[on CTCPREPLY]], [[/ctcp]]. |
| 8 | |||
| 9 | 1 | Per Amundsen | *Parameters* |
| 10 | |||
| 11 | 7 | Per Amundsen | table(ktable). |
| 12 | |*Parameter*|*Description*| |
||
| 13 | | <nick> | The nick to reply. | |
||
| 14 | | <ctcp> | The ctcp result to reply. | |
||
| 15 | | [message] | The ctcp result message to reply. | |
||
| 16 | 1 | Per Amundsen | |
| 17 | *Example* |
||
| 18 | |||
| 19 | <pre> |
||
| 20 | 5 | Per Amundsen | ; Listen to a TIME CTCP request. |
| 21 | 1 | Per Amundsen | ctcp *:TIME:*:{ |
| 22 | |||
| 23 | 5 | Per Amundsen | ; Send two ctcp replies. |
| 24 | 1 | Per Amundsen | /ctcpreply $nick TIME Current time: $time(hh:nn:ss TT (ZZZ)) |
| 25 | /ctcpreply $nick TIME Current Data: $time(dddd $+ $chr(44) mmmm dd $+ $chr(44) 2009) |
||
| 26 | |||
| 27 | 5 | Per Amundsen | ; Stop AdiIRC's standard ctcp reply. |
| 28 | 1 | Per Amundsen | halt |
| 29 | } |
||
| 30 | 2 | Per Amundsen | </pre> |