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.
Old posts that have not been replied to for several years.
stammer
Voice
Posts: 31 Joined: Mon Mar 10, 2003 9:39 am
Location: Bulgaria
Post
by stammer » Tue Mar 11, 2003 7:32 am
Network where my bot is running is 'ircd-hybrid-7'. Problem is that: bot is fighting with services(ChanServ). So is it possible to make bot to give and take op,halfop,voice via ChanServ to prevent bot fighting with it? For example when it punishes bad users or user has '+d' flag to get users op via chanserv.
now bot uses 'mode +o, +v +h,'
and with ChanServ commnad is
/msg cs op #chan nick
/msg cs voice #chan nick
/msg cs halfop #chan nick
thanks
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Tue Mar 11, 2003 7:35 am
This requires 1 of 2 methods in Tcl scripts.
1: Change all your loaded scripts to use this method.
2: Change putserv, puthelp and putquick, and also create a pushmode wrapper, to convert all required mode requests to the correct format.
As for eggdrops internal functions, there are again 2 methods.
1: Create and use script based alternatives to protection and mode setting commands.
2: Edit the source code, so that all mode requests are sent via chanserv.
Either way, ti's a pretty hard task for both.
arcane
Master
Posts: 280 Joined: Thu Jan 30, 2003 9:18 am
Location: Germany
Contact:
Post
by arcane » Tue Mar 11, 2003 9:35 am
perhaps there is another way. in what way is he "fighting" with chanserv?
stammer
Voice
Posts: 31 Joined: Mon Mar 10, 2003 9:39 am
Location: Bulgaria
Post
by stammer » Thu Mar 13, 2003 5:10 am
ChanServ has option SecureOPs. With that option turned on only ops in CS list get opped. So if bof ops someone who is not identified in NickServ ChanServ deop-s it and bot ops it again and things get messy. Same thing occurs when bot try to deop someone who is opped by CS - when bot deops it CS ops it again and.....
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Thu Mar 13, 2003 5:36 am
What are the channel settings bitch, protectfriends, protectops set to?
What is the bouncemodes (maybe a - in it) set to in the config file?
Having you tried adding the channel services bot to the userfile, agiving it a random password and the +f flag?
stammer
Voice
Posts: 31 Joined: Mon Mar 10, 2003 9:39 am
Location: Bulgaria
Post
by stammer » Thu Mar 13, 2003 5:59 am
I added Services with global 'F' and local channel flag 'm' to prevent fighting but that is not the way for me.
I think of removing '+revenge' '+revenge bot' '+protect ops and friends' and take support of this functions by TCL
what is bouncemodes setting?
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Thu Mar 13, 2003 6:10 am
As noted, the setting name may have a - (hyphen) in it.
The flag in question is not +F, it is +f.
Case is important, as it allows for 52 flags, prviding better customisation.
stammer
Voice
Posts: 31 Joined: Mon Mar 10, 2003 9:39 am
Location: Bulgaria
Post
by stammer » Thu Mar 13, 2003 6:21 am
global flags is in upper case in .channel command and thats why i write F and yes it's my mistake it's '-revenge'......
can you explain me diference between F and f if i'm not right
i'm new in eggdrops
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Thu Mar 13, 2003 6:31 am
The quickest way, is to direct you to a explanation of the existing flags.
See ".help whois" for a list of global, and channel flags, plus these for bots.
Any uppercase userflaf, is a custom one.
They are there, so scripts can create there own systems based on flags.
stammer
Voice
Posts: 31 Joined: Mon Mar 10, 2003 9:39 am
Location: Bulgaria
Post
by stammer » Thu Mar 13, 2003 6:37 am
ok i get it
thanks
so to my question - is it right to: disable 'revenge' 'revengebot' 'bitch' 'protect friends' 'protectops' and do this functions by tcl script
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Thu Mar 13, 2003 7:09 am
The issue is surounding people using the bot to OP.
IE, leave your current settings as they are.
Add the services bot as a user, as noted above.
Disable the MSG op command, and create your own personalised version, that only operates on people with +o AND a new customer flag.
The idea being that you set users on the SecurOPS list, with this flag.