Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
27
bitchx-docs/5_Programming/on/input
Normal file
27
bitchx-docs/5_Programming/on/input
Normal file
@@ -0,0 +1,27 @@
|
||||
Synopsis:
|
||||
on [<modes>]input [<serial#>] [-|^]<match> { <action> }
|
||||
|
||||
Description:
|
||||
This hook is triggered whenever a command is entered on the input line,
|
||||
or when text is sent to a channel or query.
|
||||
|
||||
This is a very powerful mechanism of the client. Used intelligently,
|
||||
it permits a very fine degree of control over the text entered on the
|
||||
input line. Used carelessly, and it can easily disable the client.
|
||||
Use with caution.
|
||||
|
||||
If a silent hook is set, one can use a loaded script to do preprocessing
|
||||
of the input line.
|
||||
|
||||
Parameters:
|
||||
$0- text of input line entered
|
||||
|
||||
Examples:
|
||||
To emulate the INPUT_ALIASES setting:
|
||||
on ^input "*" {
|
||||
eval $*
|
||||
}
|
||||
|
||||
See Also:
|
||||
set(4) input_protection
|
||||
|
||||
Reference in New Issue
Block a user