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.

keyword_1.4 help

Support & discussion of released scripts, and announcements of new releases.
Post Reply
b
burny209
Voice
Posts: 2
Joined: Fri May 01, 2009 6:59 am

keyword_1.4 help

Post by burny209 »

hi

i got a problem with that script.

after adding a keyword to the database

(09:17:06)   (@burny209) kimbo add update 123123123
(09:17:06)   (NOTICE) von (kimbo) (keyword) {update} was successfully added to the database. (Rizon)

it i do !update .update or update nothing happens...
i only get this error
Tcl error [::keyword::pubm]: invalid command name "isnumber"

and i get that everytime someone posts into the channel.

would be glad if someone knows help

greets
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Re: keyword_1.4 help

Post by speechles »

burny209 wrote:it i do !update .update or update nothing happens...
i only get this error
Tcl error [::keyword::pubm]: invalid command name "isnumber"

and i get that everytime someone posts into the channel.

would be glad if someone knows help

greets

Code: Select all

# All-Tools TCL, includes toolbox.tcl, toolkit.tcl and moretools.tcl
# toolbox was originally authored by cmwagner <cmwagner@sodre.net>
# toolkit was originally authored by Robey Pointer
# moretools was originally authored by David Sesno <walker@shell.pcrealm.net>
# modified for 1.3.0 bots by TG
#
# Copyright (C) 1999, 2003, 2004 Eggheads Development Team
# Tothwolf  24/25May1999: more changes
... <snipped irrelevant parts> ...
# rtc       20Sep1999: added isnumber, changes
keyword_1.4 assumes you've already sourced alltools. It could check if it is loaded prior and if not, bail out/abort, but it doesn't. It prefers to "run" into commands meant for alltools ([string isnumber] for example) and have the interpreter fail on handling them correctly. It could've simply exited and ask you source alltools if you hadn't (alltools has a variable it creates when loaded you simply check if [info exists]). Source them as they are below and you can give the script what it is assuming:

Code: Select all

source scripts/alltools.tcl
source scripts/keyword_1.4.tcl
b
burny209
Voice
Posts: 2
Joined: Fri May 01, 2009 6:59 am

Post by burny209 »

i fixed it already yesterday.

but thanks for the reply and help

greets
Post Reply