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.

bot not banning users when kicked :(

Old posts that have not been replied to for several years.
Locked
J
Joe^H
Voice
Posts: 1
Joined: Sun Jan 23, 2005 1:31 pm

bot not banning users when kicked :(

Post by Joe^H »

Hi,

I have d/load and installed eggdrop 1.6.17, works very well, but I am having a coulple of problems.

Sorry, if this problem is a little silly...... For some reason, when a user flood the channel with text, the bot kicks them with the reason (flood) but does not ban them. Is there any way I can set the bot to ban users when they are kicked?

I have installed a couple of scripts, autoident.tcl, which works great. The bot can identitfy to nickserv. Is there a way to get the bot to ask chanserv for ops, after it has identifyed to nickserv?

I have also d/loaded and installed, sentinel2.70-DALnet.tcl, again it does not work, or I have set it up wrong.

I have incluced a copy of my eggdrop.conf file.

Code: Select all

# Simple configuration file for eggdrop 1.3.27 and later versions
# v2.0 (29/2/2000) by slennox <slennox@egghelp.org>, http://www.egghelp.org
#
# This is a simplified version of the eggdrop.conf.dist file. It's written
# mainly for people new to eggdrop who find all the options in the example
# config file somewhat daunting. If you want to get your channel bot up and
# running as quickly and painlessly as possible, you should edit this file
# to create your bot's config file. However, if you want to take full
# advantage of all of eggdrop's features, you'll need to make some time to
# go through all the options in eggdrop.conf.dist and base your config on
# that file.
#
# Before you can start your bot, you'll need to set all the options below
# to specify things such as the bot's nickname, the servers it should
# connect to, etc. Be sure to read each description carefully.




## EGGDROP BOT CONFIGURATION ##


# These lines load all the modules necessary for a simple channel bot.
loadmodule channels
loadmodule server
loadmodule ctcp
loadmodule irc
loadmodule notes
checkmodule blowfish


# Bot admin - set your name and e-mail address.
set admin "Joe <Kevin@kitsonik.com>"


# Bot owner - set your nickname here.
set owner "Joe^H"


# New user notification - set your nickname here.
set notify-newusers "Joe^H"


# User name - set this to your username on the shell.
set username "genesis"


# Vhost - if you want your bot to use a vhost, uncomment the the following
# line (i.e. remove the #) and set the vhost. Note that you can't just set
# anything here - the vhost must be available on the shell your bot is on.
set my-hostname "bla.bla.bla.bla"
set my-ip "xxx.xxx.xxx.xxx"


# IRC network - set this to the name of the network your bot will be on.
set network "DALnet"


# IRC network type - to allow eggdrop to function optimally on your IRC
# network's servers, set the network type below.
# 0 = EFnet, 1 = IRCnet, 2 = Undernet, 3 = DalNet, 4 = EFnet (for new
# hybrid 6.0 servers with +e support), 5 = Other Networks
set net-type 3


# Bot nickname - set the nickname you want for your bot here. Also set the
# alternate nickname (in case the first nick is in use).
set nick "MyeggB"
set altnick "MyeggB2"


# Real name - the name that appears when you /whois the bot.
set realname "Only time will tell"


# Server list - make a list of servers your bot should try to connect to.
# You will need to change this to servers on your IRC network.
set servers {
  irc.dal.net:6668
  jade.dal.net:6668
}


# Channels - you need to create a "channel add" setting for each channel
# you want the bot to be on. Make sure you change the examples below to
# your channel(s).
#
# Each channel add has options to configure how your bot should act on the
# channel:
#
# chanmode
#   Channel modes the bot will enforce.
# idle-kick
#   Kick people who are idle in the channel after how many minutes? Leave
#   it set to 0 to disable.
# flood-chan
#   How many channel messages in how many seconds is a flood?
# flood-ctcp
#   How many channel CTCPs in how many seconds is a flood?
# flood-join
#   How many joins or nick changes in how many seconds is a flood?
# flood-deop
#   How many deops in how many seconds is a flood?
# flood-kick
#   How many kicks how many seconds is a flood?
#
# Flood settings can be set to 0:1 to disable detection.


channel add #myeggB {
  chanmode "+tn-k"
  idle-kick 0
  flood-chan 10:60
  flood-join 5:60
  flood-ctcp 3:60
  flood-deop 3:10
  flood-kick 3:10
}





# Additional channel settings - these further determine how the bot should
# act on the channel(s) it's on. These settings are switched on/off using
# the + or - symbol. + (plus) switches the option on, - (minus) switches it
# off. Available settings are:
# 
# enforcebans
#   When a new ban is set on the channel, kick users who match the ban?
# dynamicbans
#   Activate bans only when necessary (e.g. when someone who matches a ban
#   joins the channel), instead of leaving it active around the clock?
# autoop
#   Automatically op +o users when they join the channel? (generally a bad
#   idea).
# bitch
#   Only allow +o users to be opped?
# protectops
#   Reop +o users if they get deopped?
# stopnethack
#   Deop non +o users if they're given ops by a server?
# revenge
#   Punish users who deop/kick/ban the bot?


channel set #myeggB +enforcebans -dynamicbans -autoop -bitch +protectops +stopnethack -revenge




# User file - set the filename for your bot's userfile.
set userfile "myeggB.user"


# Channel file - set the filename for your bot's chanfile.
set chanfile "myeggB.chan"


# Notes file - set the filename for your bot's notes file.
set chanfile "myeggB.notes"


# These lines specify the logfiles the bot should keep. The first line
# makes the bot to log all bot activity to the file "nicebot.log". The
# second line makes the bot log all activity on the channel "#yourchan" to
# "#yourchan.log". You can have up to five log files. If you don't want the
# bot to keep log files, delete the three lines below. Otherwise, make sure
# you change the channel names to the channel(s) your bot will be on.
logfile mcobxs * "myeggB.log"
logfile jkp #myeggB "#myeggB.log"


# TCL scripts - specify any TCL scripts you wish to load.
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/autoident.tcl
source scripts/sentinel.tcl



## THAT'S IT! ##




## Don't edit below unless required ##


set help-path "help/"
set hourly-updates 02
set init-server { putserv "MODE $botnick +i-ws" }
set ctcp-mode 2
set double-mode 0
set double-server 0
set double-help 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
unbind dcc n simul *dcc:simul

Can anyone give me a hand?

Thanks

Kevin
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

search the tcl archive for "flood ban" or something appropriate, or read up on "bind flud" in tcl-commands.doc if you're up for it.

and for op/unban/limit/key requests, again, search the forum or the tcl archive. if you want to make it yourself, read up on the "need-* chansets" or bind need.
photon?
Locked