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.

Two questions.

Old posts that have not been replied to for several years.
Locked
r
ramirez
Voice
Posts: 10
Joined: Wed Feb 23, 2005 5:25 pm

Two questions.

Post by ramirez »

Hey,

My eggdrop's console logging mode is set to "o" (misc info), and it's logging messages such as this:
<rift> [09:50] #whahay is active but has no ops :(
It does it for a lot of channels and ALL the time, and it is very annoying. Plus most those channels do have ops (our IRC network supports the ~ and & prefix for nicks, so it probably doesn't recognize those people as operators?)
Can I somehow disable those specific messages from outputting into console? It is flooding my eggdrop DCC window.

As for second question, I have a bound a pub method on my eggdrop to take care of certain commands. I have marked it as 'm' to make it available only for global masters. My question goes; How does the eggdrop identify these people when they are not logged on to the bot?
I tried triggering the pub command without being logged on, and it worked, but it did not work for other people (like it shouldn't).
Does it only check the host of the user and compares it to the ones in the userfile?

Thanks. :)
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

About those op prefixes, edit this setting in your conf file:

Code: Select all

set opchars "@&~"
so the bot would recognize them. As for the pub commands, if you're using a script then it depends on the script whether it supports logging in or not, or how it's logging-in system works.
r
ramirez
Voice
Posts: 10
Joined: Wed Feb 23, 2005 5:25 pm

Post by ramirez »

Thanks for telling about the opchars.
I am running 1.6.16 which doesn't have that setting, so I upgraded to 1.6.17 and it works great. Thanks!

I have another question now though.
I have this in my conf file:

Code: Select all

set global-flood-chan 0
set global-flood-deop 0
set global-flood-kick 0
set global-flood-join 0
set global-flood-ctcp 0
set global-flood-nick 0
set global-aop-delay 0:0
set global-idle-kick 0
set global-chanmode ""
set global-stopnethack-mode 0
set global-revenge-mode 0
set global-ban-time 120
set global-exempt-time 60
set global-invite-time 60

source rift.chan.conf

set global-chanset {
	-autoop         -autovoice
	-bitch          -cycle
	-dontkickops    -dynamicbans
	-dynamicexempts -dynamicinvites
	-enforcebans    -greet
	-inactive       -nodesynch
	-protectfriends -protectops
	-revenge        -revengebot
	-secret         -seen
	-shared         -statuslog
	-userbans       -userexempts
	-userinvites    -protecthalfops
	-autohalfop
}
And my rift.chan.conf:

Code: Select all

channel add #whahay {}
channel add #avalanche {}
channel add #gamemaker {}
channel add #rpgdn {}
channel add #blade2k {}
channel add #gwsoldat {}
channel add #fin {}
channel add #skytower {}
channel add #code {}
channel add #gwradio {}
channel add #targ_like_cupcakes {}
channel add #retro {}
channel add #rpg_infinity {}
channel add #hooray {}
channel add #wow {}
channel add #warofthemagi {}
channel add #graphicart {}
channel add #fusion {}
I have one problem with this.. The global chansets aren't working.
When I look at the dynamic chan file eggdrop generates, I can see that the chanset has TOTALLY different settings:

Code: Select all

channel set #whahay chanmode +n idle-kick 0 stopnethack-mode 0             revenge-mode 0 need-op {} need-invite {} need-key {}             need-unban {} need-limit {} flood-chan 0:1 flood-ctcp 0:1             flood-join 0:1 flood-kick 0:1 flood-deop 0:1             flood-nick 0:1 aop-delay 0:0 ban-time 0 exempt-time 0             invite-time 0 -enforcebans +dynamicbans +userbans -autoop             -autohalfop -bitch +greet +protectops -protecthalfops             -protectfriends +dontkickops +statuslog -revenge -revengebot             -autovoice -secret +shared +cycle -seen -inactive             +dynamicexempts +userexempts +dynamicinvites             +userinvites -nodesynch 
Any idea what is wrong? I tried moving the source chan file after the global chanset too, but it didn't change anything.

Thanks.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

use 0:0 for channel flood settings and not just 0. and

Code: Select all

source rift.chan.conf
should come after

Code: Select all

set global-chanset { 
   ....
}
and not before it (for them to be already set when the channels are added).
r
ramirez
Voice
Posts: 10
Joined: Wed Feb 23, 2005 5:25 pm

Post by ramirez »

The eggdrop conf file says that 0 or 0:0 disables it, so it shouldn't make difference.
And I did say I tried to move it after too.

Well anyway, I found out what's wrong, it seems that the global settings are default settings when I do .+chan in the eggdrop DCC, they don't apply for the chans added in conf file, so it seems I have to do it per-chan in the conf file.

Thanks.
Locked