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.

eggdrop bans

Old posts that have not been replied to for several years.
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

eggdrop bans

Post by coolio2004 »

Hi, my eggdrop bot is opped in a few channels with ops but everytime 2hrs later the bot is removing bans which were already in the channel, which is something i dont want. I want it so that eggdrop does not touch the bans already in the channel at all (bans were placed either via ChanOP or manually by an op), is there a way around this? please let me know thanks.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

eggdrop.conf
# ban-time 120
# Set here how long temporary bans will last (in minutes). If you
# set this setting to 0, the bot will never remove them.

# channel add #lamest {
# ban-time 120
Just 'set ban-time 0' and for existing channels use .chanset via the command console. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

so you mean if i set it to 0, then the existing bans will remain there? I'm pretty sure i've tried this and if thats the case, i know it still removes them after 2hrs. And in there, it says "set here how long temporary bans will last", im assuming that is referring to if i ban someone using my eggdrop bot, it'll remove them after 2hrs, but what i want is, it should not touch any existing bans or any bans other users make, you get me? (thanks btw)
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

it's still removing bans after two hours, i dont understand, this is what i have please let me know if theres anything else i should be doing about this ban removal, thanks.

set servers {
irc.cricket.org:6667
irc.starlink.org:6667
}

channel add #testing {
chanmode "+nt-likm"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 0
exempt-time 60
invite-time 60
aop-delay 5:30
need-op { putserv "PRIVMSG #testing :op me cos i'm lame!" }
need-invite { putserv "PRIVMSG #testing :let me in!" }
need-key { putserv "PRIVMSG #testing :let me in!" }
need-unban { putserv "PRIVMSG #testing :let me in!" }
need-limit { putserv "PRIVMSG #testing :let me in!" }
flood-chan 10:60
flood-deop 3:10
flood-kick 3:10
flood-join 5:60
flood-ctcp 3:60
flood-nick 5:60
}
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Did you change those after you added your channel to the bot?

The reason I ask is that if you .+chan the bot to #testing while those global config settings were still at 120 then in your botname.chan file they will still be set at 120 regardless of if you changed your config file. you need to

Code: Select all

.chanset #testing ban-time 0
to set that channels ban settings to off

or

Code: Select all

.chanset * ban-time 0
to set all channels ban settings to off.

hope this helps. :wink:
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

Nah i changed the settings and then ran the bot again.
I remember in my eggdrop.conf, it has a global ban-time setting which i have set to 0, and then ran the bot again.
Now with the botname.chan, i type in .chanset #testing ban-time 0
is that correct? i'll give that a go and see how it goes.
For some reason also, my bot isn't accepting any dcc chat requests (it must be assuming im not the master), how can i get it to see that i am? I was under the impression eggdrop saves the master's hostname and only accepts dcc chat connections from that address, how can i find out what the bot sees as a master hostname?
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

This is your bot yes?

If this is the case did you

Code: Select all

/msg botnick hello
and identify yourself with the bot when you initially started the bot with the -m switch?

and did you

Code: Select all

/msg botnick pass password
after it said hello i am an eggdrop blah blah blah ?

Can you

Code: Select all

/ctcp botnick chat
If you cant get on that way use telnet and connect to the port you setup in your config file.

If you didnt change the port it will be 3333.

Let me know if your still having problems connecting to your bot. :wink:
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

yeah still having problems connecting to my bot.
you see the thing is, i had this bot installed ages ago and it was driving me nuts (it was letting me log in fine, but this was months and months ago), so i stopped using it. And now when i try to communicate with the bot, it's not reponding to anything i say/do.
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

sounds to me like your host has changed and it no longer matches what the bot knows as your host. the only thing i can suggest at the moment is to either

1) Kill your bots process, Edit your userfile manually in the botname.user file

or

2) If you want to start again kill your bots process delete the botname.user and botname.user.bak files and restart your bot with

Code: Select all

./eggdrop -m eggdrop.conf
then

Code: Select all

/msg botnick hello
and lastly

Code: Select all

/msg botnick pass yourpassword
You should then be able to

Code: Select all

/dcc chat botnick
or if that wont work try

Code: Select all

/ctcp botnick chat
Hope this sorts it for you :wink:
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

oh thank god, i didnt know you can delete those files and start fresh hehe. ok so problem 1 is done. :)
thanks buddy
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

how come i cannot /dcc chat botnick to it? :S
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

i tried /ctcp botnick chat
it says ""no telnet port"
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

coolio2004 wrote:i tried /ctcp botnick chat
it says ""no telnet port"
In your cofig file you need to set the port and make sure its not got a # infront of it

Code: Select all

#Listen 3333 all
change this to something like

Code: Select all

Listen 10856 all
that way your bot should then have a port to listen and telnet through.
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

sorry to be a pest, i did exactly what you said,
the connection gets established, but as soon as it loads the chat window, it does this. (coolers is the name of my bot)

DCC Chat session
-
Client: Coolers (127.0.0.1)
Time: Thu Jan 20 22:23:29 2005
-
Acknowledging chat request...
-
Unable to connect
-
DCC session closed
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

and you also tried the

Code: Select all

/ctcp cooler chat
are you running through a router?
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
Locked