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 

Tcl error in script for 'need-op

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


Joined: 04 Oct 2010
Posts: 51

PostPosted: Mon Oct 04, 2010 5:47 pm    Post subject: Tcl error in script for 'need-op Reply with quote

Hi, when i dcc chat to my bot i keep getting this every minute and its getting annoyan

[22:45] <Limbo> [14:44:00] Tcl error in script for 'need-op':
[22:45] <Limbo> [14:44:00] invalid command name "gain_entrance"

Its a basic setup of the conf too

Any help to get rid of this message please

Thanks
Gemster
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Oct 04, 2010 11:09 pm    Post subject: Reply with quote

Log into the partyline.
Send .chaninfo <#channel>

and examine the info returned.

Look for something like this:
Code:

<botnick> To regain op's (need-op):
<botnick> putserv "privmsg chanserv :op #channel $botnick"


I suspect that the first thing on your command line is not
putserv
but is
gain_entrance
and TCL doesn't know what it is.

Could it be a procedure in a script somewhere?

To simply get rid of the message, you could disable it:
.chanset #channel need-op

or, if you want to actually make it work, we have to know what the server accepts, as a command to grant ops.
If it is Chanserv, then you could use what you see above, substituting for #channel.
.chanset #channel need-op putserv "privmsg chanserv : op #channel $botnick"

Then check it, to be sure, with .chaninfo #channel , again. Smile
Back to top
View user's profile Send private message
Gemster
Halfop


Joined: 04 Oct 2010
Posts: 51

PostPosted: Tue Oct 05, 2010 6:13 am    Post subject: Reply with quote

Thanks willyw, all I want is to disable it as I don't want the bot to have ops. I'll try the command u sed to disable it and see if that works.

Thanks
Gemster
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