Code: Select all
lindex $inp 0
Code: Select all
lindex [split $inp] 0
Zirc.conf is the name of his eggdrop configuration file and has nothing to do with the error (except for loading the script which has the bug).cache wrote:That's odd, works for me, latest version is 1.42c.
However log shows: [22:37] Tcl error in file 'zirc.conf': I would look in to that script, or temp remove it and try seen script again without the modifications, or start seen database from scratch, maybe one nick was listed corrupted it, who knows.
Same problem, replace lindex $bs_list([string tolower $b]) 2 with lindex [split $bs_list([string tolower $b])] 2Zircon wrote:Hi all
The script is working fine, but i m getting this error in the partyline :
<Anti-Flood> [12:01] Tcl error [bs_trim]: unmatched open brace in list
When i type .set errorinfo, i get this :
<Anti-Flood> [12:08] #Owner# set errorInfo
<Anti-Flood> Currently: unmatched open brace in list
<Anti-Flood> Currently: while executing
<Anti-Flood> Currently: "lindex $bs_list([string tolower $b]) 2"
<Anti-Flood> Currently: (procedure "bs_lsortcmd" line 1)
<Anti-Flood> Currently: invoked from within
<Anti-Flood> Currently: "bs_lsortcmd os|r|s labelle24"
<Anti-Flood> Currently: (-compare command)
<Anti-Flood> Currently: invoked from within
<Anti-Flood> Currently: "lsort -increasing -command bs_lsortcmd $list"
<Anti-Flood> Currently: (procedure "bs_trim" line 3)
<Anti-Flood> Currently: invoked from within
<Anti-Flood> Currently: "bs_trim $_time1 $_time2 $_time3 $_time4 $_time5"
I have to mention that os|r|s and labelle24 re nicks listed in the database.
It is a fine piece of code in deed, but it still has the vulnerability of applying list-commands over strings.YooHoo wrote:bseen.tcl is a great piece of code, and there shouldn't be any errors in it. Maybe you might wanna try this: save the text files containing all the seen data, remove the tcl, then download a fresh copy. Maybe the errors will disappear like magic
The nearest match i can find to this line is:Sir_Fz wrote:Here it is, the bot crashed due to misuse of list and string commands. [lindex] is being applied over $inp which is a string (apparently), replacewithCode: Select all
lindex $imp 0
and try loading it again.Code: Select all
lindex [split $imp] 0