Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-06-2005, 05:02 PM   #1
godlike
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 94
Default ioB2's sitebot tcl error msg

I have this error when i try to start my eggdrop with loaded ioBanana.tcl:

Code:
[21:45] wrong # args: should be "lsearch ?mode? list pattern"
    while executing
"lsearch -all -inline -glob $content "Pre_Group_*""
    invoked from within
"set groups [lsearch -all -inline -glob $content "Pre_Group_*"]"
    (file "scripts/iobanana.tcl" line 211)
    invoked from within
"source scripts/iobanana.tcl"
    (file "eggdrop.conf" line 147)
[21:45] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
I edited the ioBanana.tcl, and also tried to use the original one, same thing with both of them.

And i am interested why the rules doent display anymore upon browsing the dir on which rules are defined in rules.cfg. And site rules also doesnt work anymore: i used rules.nfo in some dir and also corrected the path and from rules.msg to rules.nfo but when i do site rules i only get 550 Command Failed. Worked nicely before also if it was .nfo file.

Thx for the answers in advance and greets.
godlike is offline   Reply With Quote
Old 09-06-2005, 06:35 PM   #2
ko0ky
Junior Member
ioFTPD Foundation User
 
Join Date: Nov 2003
Posts: 28
Default

strange error. I've never seen it while running the iobv2.0 and eggdrop v1.6.17+SSL.

set rules(path) "C:/ioFTPD/scripts/rules.cfg"
set rules(msg) "C:/ioFTPD/scripts/rules.msg"

as long as you don't point to a real rules.cfg (which is a problem and is crashing iobanana) then pointing rules.msg to a valid location will get site rules up and working.

it was said somewhere im forums/documents or irc channel that Harm is preparing to document the new rules.cfg format. I'd be patient and give it just a bit of time.

Good luck
ko0ky is offline   Reply With Quote
Old 09-06-2005, 07:06 PM   #3
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

That line (211) parses the $content from the file opened at the line just above it:

set fp [open $ioBdat(ioacfg) r]; set content [split [read $fp] \n]; close $fp

ioBdat(ioacfg) should be your ioA config file, which is either absent or empty or something, making lsearch choke on $content which is not as it should be.
Mouton is offline   Reply With Quote
Old 09-07-2005, 01:24 AM   #4
godlike
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 94
Default

Path to ioa.cfg is correct, and it`s there. And it`s also not empty or not readable or wahtever, because worked jst fine till i changed to iobv2. Worked with iobv20, and works with ioa.

About that rules. Yes probably my previous rules.cfg crashes it if harm changed the formating in it . I hope those updates on new formating come in soon.

(Yes it was the .cfg file, removed refrence to it, and now site rules works)
godlike is offline   Reply With Quote
Old 09-07-2005, 01:42 PM   #5
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Make sure the syntax of your Pre_* settings in ioA.cfg are correct. Search for some missing spaces or quotes.

The documentations update(s) will come. I'm pretty busy with my job and getting everything in order as I've just moved to another country.
Harm is offline   Reply With Quote
Old 09-13-2005, 03:33 AM   #6
godlike
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 94
Default

Tried everything. Then i just commented out that ioa affils parse from ioBanana.tcl, because i don`t need affils, quota, trial things. So i can live without this.
godlike is offline   Reply With Quote
Reply

Tags
error, file, glob, inline, rules

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:02 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)