egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

keyword_1.4 help

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
burny209
Voice


Joined: 01 May 2009
Posts: 2

PostPosted: Fri May 01, 2009 7:03 am    Post subject: keyword_1.4 help Reply with quote

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
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Fri May 01, 2009 4:53 pm    Post subject: Re: keyword_1.4 help Reply with quote

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
View user's profile Send private message
burny209
Voice


Joined: 01 May 2009
Posts: 2

PostPosted: Sat May 02, 2009 3:33 am    Post subject: Reply with quote

i fixed it already yesterday.

but thanks for the reply and help

greets
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber