Debian Codegraph @

help/on/flood

raw
1 ! $eterna: flood,v 1.9 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 [#|+|-|^|&|@]FLOOD [-|^]<parameters> [action]
10 The FLOOD type is activated whenever someone sends a lot of
11 information very rapidly to you, your channel, or the system at
12 large (ie: a wallop). Usually, this is caused when someone dumps
13 a file to your channel or to you. The parameters for this are:
14 $0 The nick of the flooder
15 $1 The target of the flooder
16 $2 The type of flooding being done
17 $3- The content of the flooding message
18
19 General use for ON FLOOD is as follows:
20 ON ^FLOOD *
21 This will automatically prevent flooding messages from being
22 displayed and automatically disable itself when the flooding
23 has stopped.
24
25 If you use services like IRCIIHelp or NickServ, these can appear to
26 IRCII as floods, but if you add the two following ON lines:
27 ON FLOOD ^IRCIIHelp
28 ON FLOOD ^NickServ
29 These will not be treated as floods and will let their messages through.
30
31 Warning: There are occasions where ON FLOOD can be inadvertantly
32 activated (such as after a net-burp, or after you have ^Z'd for a
33 while). Therefore, I strongly advise against using KILL or even
34 KICK as the action taken by an ON FLOOD.
35
36 Note that in ircII 20020902 and earlier, $1 is not the target of
37 the flooder, but the type of flooding being done, and $2- is the
38 content of the message. For example:
39
40 IF (V > 20020902) {
41 ON FLOOD "% % % *" ECHO Flood type $2 from $0 to $1: $3-
42 } {
43 ON FLOOD "% % *" ECHO Flood type $1 to $0: $2-
44 }
45
46 See Also:
47 SET FLOOD_AFTER
48 SET FLOOD_RATE
49 SET FLOOD_USERS
50 SET FLOOD_WARNING