Debian Codegraph @

help/on/hook

raw
1 ! $eterna: hook,v 1.8 2021/03/21 04:29:45 mrg Exp $
2 !
3 ! Copyright (c) 1990-2021 Michael Sandrof, Troy Rollo, Matthew Green,
4 ! and other ircII contributors.
5 !
6 ! All rights reserved. See the HELP IRCII COPYRIGHT file for more
7 ! information.
8 !
9 Usage: ON [#|+|-|^]HOOK [-|^]<any pattern> [action]
10 This is activated whenever you receive a HOOK. HOOKs are generated
11 by the user for one purpose, which is to activate ON HOOK.
12 The parameters for the action are as follows:
13 $0 First word of text
14 $1 Second word of text..
15 $2- Rest of pattern. Can use whatever you like.
16 Basically if you have an ON HOOK pattern, you can send a HOOK command
17 that matches the pattern and it will be activated. This is useful for
18 testing ON patterns, and sending commands from within scripts and
19 aliases which can be either ignored or acted upon (ON HOOK).
20
21 See Also:
22 ON
23 HOOK