!	 $eterna: hook,v 1.7 2018/06/10 02:25:31 mrg Exp $
!
! Copyright (c) 1990-2018  Michael Sandrof, Troy Rollo, Matthew Green,
! and other ircII contributors.
!
! All rights reserved.  See the HELP IRCII COPYRIGHT file for more
! information.
!
Usage: ON [#|+|-|^]HOOK [-|^]<any pattern> [action]
  This is activated whenever you receive a HOOK.  HOOKs are generated
  by the user for one purpose, which is to activate ON HOOK.
  The parameters for the action are as follows:
	$0   First word of text
	$1   Second word of text..
	$2-  Rest of pattern.   Can use whatever you like.
  Basically if you have an ON HOOK pattern, you can send a HOOK command
  that matches the pattern and it will be activated.  This is useful for
  testing ON patterns, and sending commands from within scripts and 
  aliases which can be either ignored or acted upon (ON HOOK).

See Also:
  ON
  HOOK
