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.

strange error

Old posts that have not been replied to for several years.
Locked
d
doggo18

Post by doggo18 »

all the time when something is said in a channel i am getting this error:

TCL error [pub_izamu]: invalid command name "pub_izamu"

how can i get rid of it??? PLZ help me

thx in advance
S
SniperAC

Post by SniperAC »

do you have any Scripts running and/if what are they?...

if you do look thro emm and look for that command.... a script might have goten messed up so the command could be missed spelled..

if you find it and you dont think you need that script just del it
or if you think you dont need that part of the script just put a "#" in front of that line

** If its not a script what version is your bot? **

<font size=-1>[ This Message was edited by: SniperAC on 2001-10-27 19:53 ]</font>
P
Prutser

same error..

Post by Prutser »

I know it's an ancient thread, but I'm seeing the exact same things. I'm fairly new to eggdrops and haven't written custom scripts.

The bot is in a 3-bot net, running the netbots.tcl script. Only the hub has the errors. There's a couple more scripts loaded on the hub (should make the trace easier) that are not loaded on the leafs:

source scripts/quote.tcl
source scripts/entertain.tcl
source scripts/bseen1.4.2.tcl

I'll isolate the offending script, but assuming I find the faulty script, is there any way can I easily locate the bug?

cheers,
Erik
P
Prutser

Fixed!

Post by Prutser »

Nevermind, it was a very trivial thing to find. The offending command was in one of the scripts I added:

prutser:~/bot/scripts$ grep pub_izamu entertain.tcl
bind pubm - "% $botnick*" pub_izamu
prutser:~/bot/scripts$

That line appears to be called on each public line (it makes the bot say snappy things when it hears its name). I guess it's an ancient script. I removed the faulty part and now it's fine.

It's weird though that the error didn't disappear when I rehashed with the script commented out. I really needed to restart completely to make it unload the thing.

P.S.
Would it be smart to move the entertain.tcl *below* the line:

source scripts/compat.tcl

or is that irrelevant?

cheers,
Erik
Locked