| View previous topic :: View next topic |
| Author |
Message |
burny209 Voice
Joined: 01 May 2009 Posts: 2
|
Posted: Fri May 01, 2009 7:03 am Post subject: keyword_1.4 help |
|
|
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 |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Fri May 01, 2009 4:53 pm Post subject: Re: keyword_1.4 help |
|
|
| 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: | # 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: | source scripts/alltools.tcl
source scripts/keyword_1.4.tcl |
_________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
burny209 Voice
Joined: 01 May 2009 Posts: 2
|
Posted: Sat May 02, 2009 3:33 am Post subject: |
|
|
i fixed it already yesterday.
but thanks for the reply and help
greets |
|
| Back to top |
|
 |
|