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