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 query

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

bot query

Post by coolio2004 »

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
}




is there a way to stop the following?
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!" }



i dont really want all that crap, ive tried deleting the lines but that doesnt seem to work
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

To remove the need-* functions, first kill the bot, or make it die with the ".die" command then:

Open you .conf file, replace your current configuration with this:

Code: Select all

need-op { }
need-invite { }
need-key { }
need-unban { }
need-limit { }
Then save the .conf file and restart your eggdrop:

./eggdrop <conf.file>


(Do this for global as well as the dynamic added channels).
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

Oh ok. Sweet thanks. Just one last question, with the logging feature in the bot, does it just log stuff like in partyline etc?.......is it possible to log all the chat that happens in a channel and have like a seperate file for each channel???
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Well as far as I know logs for channels are seperate and those logs are seperated daily. Each channel logged, is stored in a file with its name along with its date.

Meaning after every 24hrs the file name is changed, supposed you want to log the channel #awyeah. You are logging it since 3-4 days now. The names would be something like this along with the dates:

#awyeah1922005.log
#awyeah2022005.log
#awyeah2122005.log
#awyeah2222005.log
#awyeah2322005.log

I beleive that the partyline can yes also be logged. Generally I don't make my bot log and never will, since there are tonnes of people interacting with it and frankly I don't have the time to go over them.

However if I want to log something very important and serious I would just trigger a bind in tcl and make a txt file and send all my important loggings into my file and read it in the end of the day and etc.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

The following settings will keep a bot log and a channel log (logging public chat):
##### LOG FILES #####

set max-logs 365
set max-logsize 0
set quick-logs 0

logfile mbco * "logs/botnick.log"
logfile jpk #channel "stats/channel.log"

set log-time 1
set keep-all-logs 1
set logfile-suffix ".%d%b%Y"
set switch-logfiles-at 300
set quiet-save 1
I use pisg and have unlimited space so I have max-logs set to keep logging for 1 year.

The result of this is a number of files averaging 44Kb with filenames similar to this: channel.log.01Jan2005
# If keep-all-logs is 1, this setting will define the suffix of the logfiles.
# The default will result in a suffix like "04May2000". "%Y%m%d" will produce
# the often used yyyymmdd format. Read the strftime manpages for more options.
# NOTE: On systems which don't support strftime, the default format will
# be used _always_.
set logfile-suffix ".%d%b%Y"
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 »

need-op { }
need-invite { }
need-key { }
need-unban { }
need-limit { }



i did exactly that but the bot is still sending those "op me coz im lame" crap??
whats even weird is that i got
need-op { putserv "PRIVMSG #testing :op me cos i'm lame!" }
(and so on) on another server but the bot is not typing that crap out if it doesnt have ops??
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

channel add #crickind
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 { }
need-invite { }
need-key { }
need-unban { }
need-limit { }
flood-chan 10:60
flood-deop 3:10
flood-kick 3:10
flood-join 5:60
flood-ctcp 3:60
flood-nick 5:60



check that out .....in the #crickind room, the bot doesnt display the "op me coz im lame" but in #testing it does???
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

whats even more weird is that when i op the bot in #testing, its still saying "op me coz im lame"......hmmmmmm?
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Are the globals still setup to display op me cuz i'm lame?

Also if your bot was already in testing before you removed the need op etc config settings they will still be in the bots channel file. The best way i can help you here is to not set any channels in the config and just add them with .+chan from the party line.

Kill your bot. delete the botname.chan file and the .bak file restart your bot. login and then .+chan #testing making sure that the globals are not set in the config..
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 »

hmmmmm im trying to delete the entry for #testing in the .chan file but it keeps on reappearing? :S
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

kill your bot first remove the #testing entry and also remove it from the botname.chan.bak file also then restart it
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
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Kill your bot. Then delete your .chan and .chan.bak file or delete your channels entry for all settings in both the files. Then open your .conf file and in "GLOBAL" CHANNEL SETTINGS remove all the need-* functions and make them empty, i.e. leave the braces empty as "{ }" and do the same for your DYNAMIC CHANNEL SETTINGS. Then reload your bot, it should be fine.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
c
coolio2004
Halfop
Posts: 68
Joined: Wed Jan 19, 2005 4:02 am

Post by coolio2004 »

the bot is still displaying "op me cos i'm lame!" in my #testing room even though the bot isnt even in the channel?? how does that work???
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Because you haven't read a thing and killed the bot and deleted both the .chan and .chan~bak files after making your configuration changes.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Maybe if we typed in binary code people would understand better???

01010010 01100101 01100001 01100100 00100000 01110111 01101000 01100001 01110100 00100000 01101001 01110011 00100000 01110011 01100001 01101001 01100100 00100000 01110100 01101111 00100000 01111001 01101111 01110101 00100000 01100110 01101111 01110010 00100000 01100110 01110101 01100011 01101011 01110011 00100000 01110011 01100001 01101011 01100101 00101110 00101110 00100001 00100001
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