| 1 |
! $Id: hook,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: HOOK <anything you want> |
| 10 |
This command sends <anything you want> in such a way that it can |
| 11 |
be caught by |
| 12 |
ON HOOK "anything you want" |
| 13 |
or any regular ON syntax. E.g. if you have |
| 14 |
ON HOOK * echo one $* three |
| 15 |
and you send |
| 16 |
HOOK two |
| 17 |
it will display "one two three" as the ON is activated. |
| 18 |
This is useful if you want to put a special hook in a script or |
| 19 |
alias that you can act upon with an ON HOOK or ignore at will. |
| 20 |
|
| 21 |
See Also: |
| 22 |
ON |
| 23 |
ON HOOK |