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 

Strange error with .tcl and .set

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


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Thu Nov 29, 2007 4:14 am    Post subject: Strange error with .tcl and .set Reply with quote

Hello there,

I use a generic .conf for my eggdrops and it works fine with most of them.
Inside, I've:
Code:
#unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set

10 of my eggdrops accept the .tcl or .set command but the 2 lastest I'd installed refuse it ("What? You need .help")

any idea?
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Thu Nov 29, 2007 4:50 am    Post subject: Reply with quote

Change the unbind to bind, and remove the #
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Thu Nov 29, 2007 4:52 am    Post subject: Reply with quote

Oh..and rehash..


<wondering if anyone ever reads the faq...>
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Thu Nov 29, 2007 5:35 am    Post subject: Reply with quote

Yup indeed Bizarre, coz i m having the same thing for all my bots, and it s working :
Quote:
# Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.
#unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set
Back to top
View user's profile Send private message
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Thu Nov 29, 2007 6:40 am    Post subject: Reply with quote

this is the trouble I have and can't understand:
all my eggdrops use the same .conf structure, I just change the username and the listening ports (I use variables) and only 2 of my bots don't have the .tcl and .set command.

All bots have been restarted recently...

@rosc2112 : I think I know really well the FAQ, I know ways to correct this trouble, I just want to understand why the same .conf doesn't work the same way.

EDIT: why this ***** set owner was changed? this was the trouble Very Happy
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Nov 29, 2007 2:51 pm    Post subject: Reply with quote

Check out the must-be-owner setting as well.

Edit: Thanks nml375 Very Happy
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts


Last edited by Sir_Fz on Thu Nov 29, 2007 3:13 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Nov 29, 2007 3:03 pm    Post subject: Reply with quote

@Sir_Fz:
You got the name dead on Smile
eggdrop.conf wrote:
# Un-comment the next line and set the list of owners of the bot.
# You NEED to change this setting.
#set owner "MrLame, MrsLame"

...

# If you enable this setting, only permanent owners (owner setting) will be
# able to use .tcl and .set. Moreover, if you want only let permanent owners
# use .dump, then set this to 2.
set must-be-owner 1

_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Thu Nov 29, 2007 3:54 pm    Post subject: Reply with quote

this setting was ok (set to 1) but for a stupid reason, the owner was setted to "Nobody".

stupid me, I forget I'd changed it to show a "good" .conf file to someone, and most of my settings are at the top of the file (my .conf is quite dynamic), so I forget it (loose in the deep of the file).

btw, it was a good way to re-learn the config file Smile
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Nov 29, 2007 6:05 pm    Post subject: Reply with quote

If must-be-owner is set to 0 (i.e. disabled) then any +n user can use the .tcl and .set commands (just to make this clear).
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Fri Nov 30, 2007 6:10 am    Post subject: Reply with quote

yes, I know it well, but I'm quite paranoïd Smile even if I'm the only owner Very Happy
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
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