| 1 |
! $Id: ctcp_reply,v 1.3 2002-02-19 19:43:28 f Exp $ |
| 2 |
! |
| 3 |
! Copyright (c) 1990-2001 Michael Sandrof, Troy Rollo, Matthew Green, |
| 4 |
! and other ircII contributors. |
| 5 |
! |
| 6 |
! All rights reserved. See the HELP SCROLLZ COPYRIGHT file for more |
| 7 |
! information. |
| 8 |
! |
| 9 |
Usage: ON [#|+|-|^|&|@]CTCP_REPLY [-|^]<parameters> [action] |
| 10 |
This event is activated when you receive a reply from a CTCP |
| 11 |
request that you made (with the CTCP command). For example, |
| 12 |
if you did: |
| 13 |
CTCP BigCheese VERSION |
| 14 |
you would receive a: |
| 15 |
*** CTCP REPLY VERSION from BigCheese: IRCII 2.1beta2 Unix |
| 16 |
from BigCheese. However, if you had: |
| 17 |
ON ^CTCP_REPLY "* VERSION" /echo $0 is using $2- |
| 18 |
and did the CTCP show above, you would get something like: |
| 19 |
BigCheese is using IRCII 2.1beta2 Unix |
| 20 |
The parameters are: |
| 21 |
$0 nick of person who sent the reply |
| 22 |
$1 The CTCP command being replied to |
| 23 |
$2- The reply itself (depends on $1) |
| 24 |
Note: You may NOT use the CTCP command in an ON CTCP_REPLY. |
| 25 |
It simply will report an error message to you and not work. |
| 26 |
It is illegal to do this and it is not supported. |