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.

Tcl error in script for 'need-op

General support and discussion of Eggdrop bots.
Post Reply
G
Gemster
Halfop
Posts: 51
Joined: Mon Oct 04, 2010 5:43 pm

Tcl error in script for 'need-op

Post by Gemster »

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
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

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

and examine the info returned.

Look for something like this:

Code: Select all

<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. :)
G
Gemster
Halfop
Posts: 51
Joined: Mon Oct 04, 2010 5:43 pm

Post by Gemster »

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
Post Reply