This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Newbie help please on flood settings

Old posts that have not been replied to for several years.
Locked
c
cmk

Newbie help please on flood settings

Post by cmk »

On the grand scale of things I'm pretty new to mIRC. I OP in a channel but my knowledge is still a little on the limited side. We had a situation were our main bot was offline for a day so the 'users' it was set to ban etc were getting through and had to be sorted manually. This obvious became a pain so we decided that there should be a backup bot for when the main one wasn't around.

The problem is I've got the backup and it seems to run ok but not with full capabilities. Our channel boss sent me the files and talked through the setup etc and all went well. He then said that because all the settings weren't in place when he zipped the files to send I'd need to make some changes. Something about files resetting when zipped which I found a little weird but it might be a test on his part :) .

Anyway he said that I need to "read how to set the flood so he (the bot) doesnt kick everybody" so here I am.

My knowledge of Eggdrop is next to nothing so I'm looking for some kind person to help me out here without getting too technical if possible.

Thanks in advance for the help.
User avatar
z_one
Master
Posts: 269
Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada

Post by z_one »

cmk wrote:
Something about files resetting when zipped
That is definitely a test from him, lol because I never heard of a file being changed (let alone having its settings reset) when it's zipped. Zipped files contain exactly the same information they did before being compressed. They just contain it in a different way so as to occupy less space.

About the flood settings, there are 6 types of floods eggdrop detects:

1) Main channel flood by a given nick means how many lines a nick is allowed to type on the main within a given period of time before getting kicked.
Syntax: set flood-chan lines:time-interval
Example: set flood-chan 7:10 (means 7 lines in 10 seconds)

2) Deop flood means how many operators can be deopped by another operator in a given interval of time before the bot kicks him/her.
Syntax: set flood-deop deops:time-interval
Example set flood-deop 3:10 (means 3 deops in 10 seconds)

3) Kick flood means how many nicks an operator is allowed to kick in a given interval of time before the bot kicks him/her.
Syntax: set flood-kick kicks:time-interval
Example: set flood-kick 10:15 (means 10 kicks in 15 seconds)

4) Join flood means how many nicks from the same host are allowed to join the channel in a given interval of time before the bot kicks them.
Syntax: set flood-join joins:time-interval
Example: set flood-join 3:10 (means 3 joins from the same host in 10 seconds)

5) Ctcp Flood means how many channel ctcps from the same person are allowed in a given interval of time before the bot kicks them.
Syntax: set flood-ctcp ctcps:time-interval
Example: set flood-ctcp 5:15 (5 ctcps in 15 seconds)

6) Nick Flood means how many nick changes from the same host are allowed in a given interval of time before the bot kicks them.
Syntax: set flood-nick nick-changes:time-interval
Example: set flood-nick 4:10 (4 nick changes from same host in 10 seconds)

You can set all these in the bot configuration file (they are already explained there). Good luck.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

also in DCC chat or Telnet
do a .chaninfo

notice:
flood settings: chan ctcp join kick deop nick
number: 1 1 1 1 1 1
time : 1 1 1 1 1 1
u can edit them by .chanset
for example: .chanset #channel flood-chan 1:1 (how manny messages:how manny seconds)
or .chanset #channel flood-ctcp 1:1 ...etc (conclude flood-join flood-kick flood-deop and flood-nick)

also, in chaninfo, u can see: +dontkickops which is the setting to exempt the ops from the eggdrop kicks. if its -dontkickops then do a .chanset #channel +dontkickops

as for the TCL scripts, if u want to exampt some f users or voices or ops.

u have to read tcl-commands.doc in your doc/ eggdrop's dir.
see the commands like isop, isvoice, matchattr

example: if {[isvoice $nick $chan]} {return 0} (doesn't apply if nick is voiced)
or if {[matchattr $nick f|f $chan]} {return 0} (doesn't apply if nick has +f flag)
the variables depend on the input of the proc.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Also the 0:0 will disable it.
Once the game is over, the king and the pawn go back in the same box.
Locked