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 

Permissions/Scripts

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


Joined: 08 Aug 2010
Posts: 6

PostPosted: Sun Sep 12, 2010 12:54 am    Post subject: Permissions/Scripts Reply with quote

I dont think this falls into scripting - this is more about configuration.

I have these items in my "myscript.tcl"

bind pub n|n !sql cmd:sql
bind pub o|o !warn cmd:warn
bind pub o|o !unwarn cmd:unwarn
bind pub - !showwarn cmd:showwarn
bind pub - !check cmd:check

It's my understanding that only the owner should be able to do the item bind pub n|n only the ops should be able to do bind pub o|o and the others open to everyone.

However, everyone seems to be able to do any of these.

What have I missed? Is there some config issue somewhere?

Thanks!
Back to top
View user's profile Send private message
thommey
Halfop


Joined: 01 Apr 2008
Posts: 73

PostPosted: Sun Sep 12, 2010 10:16 am    Post subject: Reply with quote

It's not a configuration issue. I can see 2 possibilities for that behaviour
1) You still have the old bind active because you only rehashed when you initially changed the bind to n|n (check .binds !sql in partyline), .restart to fix this.
2) Everyone is recognized as owner with global or channel +n, check .channel #chan in partyline and look at what handle the user who shouldn't ne able to access to got.
Back to top
View user's profile Send private message
bharvey
Voice


Joined: 08 Aug 2010
Posts: 6

PostPosted: Sun Sep 12, 2010 4:11 pm    Post subject: Reply with quote

thommey wrote:
It's not a configuration issue. I can see 2 possibilities for that behaviour
1) You still have the old bind active because you only rehashed when you initially changed the bind to n|n (check .binds !sql in partyline), .restart to fix this.


can you explain how I check that please? I'm new to this..

Quote:

2) Everyone is recognized as owner with global or channel +n, check .channel #chan in partyline and look at what handle the user who shouldn't ne able to access to got.


And this.. thanks!
Back to top
View user's profile Send private message
bharvey
Voice


Joined: 08 Aug 2010
Posts: 6

PostPosted: Sun Sep 12, 2010 10:10 pm    Post subject: Reply with quote

bharvey wrote:
thommey wrote:
It's not a configuration issue. I can see 2 possibilities for that behaviour
1) You still have the old bind active because you only rehashed when you initially changed the bind to n|n (check .binds !sql in partyline), .restart to fix this.


can you explain how I check that please? I'm new to this..

Quote:

2) Everyone is recognized as owner with global or channel +n, check .channel #chan in partyline and look at what handle the user who shouldn't ne able to access to got.


And this.. thanks!


OK - I was able to see in DCC by doing .binds that !sql n|n is set

I'm not seeing where it's telling me what handle the user has in .dcc though. I did the .channel #channel . Under Handle is my name?? Not n, m, o, d or b.
Back to top
View user's profile Send private message
blake
Master


Joined: 23 Feb 2009
Posts: 201

PostPosted: Mon Sep 13, 2010 8:26 am    Post subject: Reply with quote

On the party line do .whois username/handle this will show what flags the users have on your bot
_________________
Blake
UKEasyHosting UKStormWatch
Back to top
View user's profile Send private message Visit poster's website
bharvey
Voice


Joined: 08 Aug 2010
Posts: 6

PostPosted: Mon Sep 13, 2010 9:48 pm    Post subject: Reply with quote

blake wrote:
On the party line do .whois username/handle this will show what flags the users have on your bot


I did this and only my name shows.
Back to top
View user's profile Send private message
bharvey
Voice


Joined: 08 Aug 2010
Posts: 6

PostPosted: Mon Sep 13, 2010 9:56 pm    Post subject: Reply with quote

thommey wrote:
It's not a configuration issue. I can see 2 possibilities for that behaviour
1) You still have the old bind active because you only rehashed when you initially changed the bind to n|n (check .binds !sql in partyline), .restart to fix this.
2) Everyone is recognized as owner with global or channel +n, check .channel #chan in partyline and look at what handle the user who shouldn't ne able to access to got.




Should the handle be the name of a person?

I see nothing that says n=owner or m=master or o=op

If I'm binding n | n and o | o how do I give the OP's the proper access in the user file.

thanks!
Back to top
View user's profile Send private message
blake
Master


Joined: 23 Feb 2009
Posts: 201

PostPosted: Tue Sep 14, 2010 5:24 am    Post subject: Reply with quote

.adduser nickname
Then do .chattr handle +flags
Handle is normaly made up of the first 9 letters of the nickname
Flags being +mno or whatever
_________________
Blake
UKEasyHosting UKStormWatch
Back to top
View user's profile Send private message Visit poster's website
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