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.

'invalid command name'

Old posts that have not been replied to for several years.
Locked
User avatar
bruhv
Voice
Posts: 22
Joined: Sat Apr 10, 2004 5:53 pm

'invalid command name'

Post by bruhv »

doesnt actually seem to affect the working of the bot, but annoying nonetheless...
Tcl error [tgjoinmsg]: invalid command name "tgjoinmsg"

searched all my tcl scripts and i can't find any mention of "tgjoinmsg"
any way i can find out what's causing this?
d
dollar
Op
Posts: 178
Joined: Tue Oct 28, 2003 3:47 pm
Location: Netherlands

Re: 'invalid command name'

Post by dollar »

bruhv wrote:doesnt actually seem to affect the working of the bot, but annoying nonetheless...
Tcl error [tgjoinmsg]: invalid command name "tgjoinmsg"

searched all my tcl scripts and i can't find any mention of "tgjoinmsg"
any way i can find out what's causing this?
How can you not find "tgjoinmsg" if the error gets caused within proc "tgjoinmsg"? :mrgreen:
dollar (or something similar) at:
#eggdrop / #tcl - undernet
#egghelp / #tcl / #eggtcl - efnet
#eggdrop.support / #tcl - quakenet
#eggdrop - ircnet
User avatar
bruhv
Voice
Posts: 22
Joined: Sat Apr 10, 2004 5:53 pm

Post by bruhv »

good question, exactly what i was trying to find out :mrgreen:

well, it happens whenever someone joins the channel. i have a greet script, and an autovoice script. neither contain the term "tgjoinmsg". so i searched most of the many scripts i use. seriously, i can't find it :-?

gonna have another look thru them all tomorrow on my linux box (maybe wordpad is missing something?)
all i can think is old scripts? (ie tried several autovoice/greet/onjoin scripts before i found ones that work how i like)
might it be part of an old bind/command/tcl thingy?
am i really this stupid???

thanks :)
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

If you have removed scripts, to remove the bindings from memory,
you need to issue a '.restart' not .rehash, if you have not completely restarted your bot that is to say.
User avatar
bruhv
Voice
Posts: 22
Joined: Sat Apr 10, 2004 5:53 pm

Post by bruhv »

@dollar:
oops, my bad. found it in a trivia script, i had hashed out the onjoin message but not removed the bind :-?

@strikelight:
thanks for pointing out the difference between rehash and restart :)
Locked