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.

Global master and auto op problems

Old posts that have not been replied to for several years.
Locked
User avatar
Aron
Halfop
Posts: 86
Joined: Sat Mar 15, 2003 8:35 am

Global master and auto op problems

Post by Aron »

One of my bots is in a friends channel, but i dont want to be op'ed there. I'm the bot master, so it keeps op'ing me every time i join. I cant remove the +o flag from myself either.

The only way i can solve this is to set a channel +d flag for myself.

Any ways around this?


Also, i have a script for public op commands (!op, !deop, etc), is there a way i could have it trigger for every op (@) in the channel, instead of bot ops?

Thanks in advance.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

1: Remove the autoop flag from yourself and/or the channel.

This is a ugly settings, and is rather insecure for use on users. It only takes sombody with a simalar hostmask to you, to gain automatic ops.

2: The scripts would need to be re-written.

They likely use the "matchattr" command, to test if a user has the +o flag in the bot. Using the "isop" command in adition to this, would allow for any channel op to use the commands, bot access or not.
User avatar
Aron
Halfop
Posts: 86
Joined: Sat Mar 15, 2003 8:35 am

Post by Aron »

Thats the whole problem. I cant seem to remove the "o" flag...

[12:14pm] [[A]soAron] .chattr AsoAron -o
[12:14pm] [JAbot] [12:14] #AsoAron# chattr AsoAron -o
[12:14pm] [JAbot] Global flags for AsoAron are now +ahjmnoptx.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

+o isn't the autoop flag.

Because you are owner of the bot, you have +o no matter what.

It is the +a flag that is auto-op (see .help whois).
Locked