| 1 |
! $eterna: input,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 [#|+|-|^|&|@]INPUT [-|^]<parameters> [action] |
| 10 |
This is activated whenever you send a line of input to either |
| 11 |
a channel or a query user. This means that if you type in a |
| 12 |
message and hit return, ON INPUT can be activated. |
| 13 |
ON INPUT can catch and process any input line. |
| 14 |
|
| 15 |
Note: The fact that you can capture any line and suppress further |
| 16 |
normal processing means you can completely disable the client |
| 17 |
by accident or on purpose. Don't use this function if you don't |
| 18 |
know exactly what you are trying to do. |
| 19 |
Parameters are: |
| 20 |
$0 Text of line |
| 21 |
If you use ^ to suppress the processing of the line, you can |
| 22 |
do your own pre-processing and send the line back to the client |
| 23 |
with a call to SENDLINE. |
| 24 |
Note $[1]0 is the first character of the first word of the line. |
| 25 |
Also, the $T var can show you who or what you're talking to at |
| 26 |
any given moment. |
| 27 |
|
| 28 |
See Also: |
| 29 |
SET INPUT_PROTECTION |
| 30 |
ALIAS special |