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.

bind for +o flag

Old posts that have not been replied to for several years.
Locked
Y
Yoda
Halfop
Posts: 78
Joined: Thu Oct 24, 2002 2:57 am
Location: Milano, Italy
Contact:

bind for +o flag

Post by Yoda »

I want that some binds could be used only by ops, so I added these users to bot user list with .+user nick and give them +o with .chattr nick +o

setted tcl with

bind <type> o <command> <procedure>

but this dont works with these users, instead they are recognized as global op in the bot.

what i'm doing wrong? :-?

(note: I have .13 eggdrop)
User avatar
user
&nbsp;
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

.chattr handle +o <-global o
bind <type> o <mask> <cmd> <-global o

If you don't want them to be global +o you better provide a channel name to the chattr and bind the thing to o|o or -|o
Y
Yoda
Halfop
Posts: 78
Joined: Thu Oct 24, 2002 2:57 am
Location: Milano, Italy
Contact:

Post by Yoda »

this is what I did but dont works, the bind command is not executed
User avatar
user
&nbsp;
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

Yoda wrote:this is what I did but dont works, the bind command is not executed
Might be some other bind matching the same mask that halts further processing...is your bind stackable?

Check .binds <your type> all
Y
Yoda
Halfop
Posts: 78
Joined: Thu Oct 24, 2002 2:57 am
Location: Milano, Italy
Contact:

Post by Yoda »

no, because without o flag ( but - ) it works
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Check your hosts for each user.

Unless the hostmasks match, eggdrop has no way of telling which user record to do the flag matching against.
Y
Yoda
Halfop
Posts: 78
Joined: Thu Oct 24, 2002 2:57 am
Location: Milano, Italy
Contact:

Post by Yoda »

this is a problem because are a lot of ops and they change provider too so the only way will be an hostmask like *!*@* for all, but: will it resolve the problem?
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

it would create a bunch of other problems
photon?
Y
Yoda
Halfop
Posts: 78
Joined: Thu Oct 24, 2002 2:57 am
Location: Milano, Italy
Contact:

Post by Yoda »

ok, better if I'll create a filter on server, more fast and secure :)
thanks all for help :lol:
Locked