egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Override global flags?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
anlag
Voice


Joined: 25 May 2010
Posts: 3

PostPosted: Sun Oct 16, 2011 10:09 pm    Post subject: Override global flags? Reply with quote

So, I've tried to read up on various user and channel modes as well as other ways to do this, but can anyone tell me if there's a way to override global flags on specific channels?

The issue is I have a number of trusted people with a global +o flag, which is normally fine as they can have ops in any channel except there's this one, which is a bit more of an official channel where ops are and should be more restricted. I generally don't have my bot opped in there, but the network services have been dodgy lately and as a precaution I'm letting the bot keep ops as well, but then it auto ops also people that it shouldn't. If I could have them NOT get auto ops in that particular channel, while still leaving the global flag intact everywhere else, that would be the peak of convenience for me.

I'm already guessing it won't be possible, but any input will be appreciated nonetheless. Thanks.
Back to top
View user's profile Send private message
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Sun Oct 16, 2011 10:20 pm    Post subject: Reply with quote

.chanset #channelname -autoop
_________________
I must have had nothing to do
Back to top
View user's profile Send private message
anlag
Voice


Joined: 25 May 2010
Posts: 3

PostPosted: Sun Oct 16, 2011 11:28 pm    Post subject: Reply with quote

Thanks. Unfortunately that does not seem to work.

04:22:39 <mynick> .chanset #channel -autoop
04:22:39 <botnick> Successfully set modes { -autoop } on #channel.

Then deopped and reopped the bot, and it immediately gave ops to the two other users with global +o in the channel. Is there anything else I need to do to make that autoop channel flag work? I've never seen it have any effect, despite testing various scenarios.
Back to top
View user's profile Send private message
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Mon Oct 17, 2011 2:23 am    Post subject: Reply with quote

Other than that, I can only think of maybe +protectops channel setting having an effect.

Leave +protectops and -autoop as they are and try restarting the bot. Deop the other global +o users while the bot is away from the channel so that this action goes unseen. See if it reops them when it returns.
_________________
I must have had nothing to do
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Oct 17, 2011 7:43 am    Post subject: Reply with quote

.chattr handle +ao
.chattr handle +d #thatchannel

That should give them global operator, automatically on join. But when joining #thatchannel they will always be deopped. This should do it.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Oct 17, 2011 10:33 am    Post subject: Reply with quote

anlag wrote:
Thanks. Unfortunately that does not seem to work.

....
and it immediately gave ops to the two other users with global +o in the channel.
...


Do those two users have either global or channel specific +a flag?
Back to top
View user's profile Send private message
anlag
Voice


Joined: 25 May 2010
Posts: 3

PostPosted: Mon Oct 17, 2011 11:27 am    Post subject: Reply with quote

willyw wrote:
Do those two users have either global or channel specific +a flag?


They have global +ao, which is how I'd like to keep them for the sake of all other channels. The community in question is fairly dynamic in the sense that a lot of new channels tend to get created, used for a few months, and then abandoned, which means global flags are convenient to use rather than always adding a lot of separate user flags for different channels.

arfer wrote:
Other than that, I can only think of maybe +protectops channel setting having an effect.

Leave +protectops and -autoop as they are and try restarting the bot. Deop the other global +o users while the bot is away from the channel so that this action goes unseen. See if it reops them when it returns.


+protectops was/is set, I did not however restart the bot. I didn't think this would make a difference, since other channel flags appear to be implemented directly (for example, +inactive). I'd still try it and may experiment later, but...

speechles wrote:
.chattr handle +ao
.chattr handle +d #thatchannel

That should give them global operator, automatically on join. But when joining #thatchannel they will always be deopped. This should do it.


...this worked perfectly. Very good, I didn't expect it, since I thought global flags would always take precedence but this is indeed exactly what I was looking for.

Thanks a lot to everyone who took the time to reply!
Back to top
View user's profile Send private message
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Mon Oct 17, 2011 12:49 pm    Post subject: Reply with quote

Can I just say that I was suggesting you restart the bot merely to give opportunity to deop users without the bot seeing it, not because it otherwise needed to be restarted.
_________________
I must have had nothing to do
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber