Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-02-2005, 12:26 PM   #1
solidous
Junior Member
 
Join Date: Sep 2004
Posts: 19
Default [External] !inc problem

Code:
Tcl error [ioB:proc_incomplete]: can't read "announce(INCOMPLETE)": no s
uch element in array
in eggdrop

thats is the problem, all paths are rigth, and the same script configuration works to another server, why dont work in my server?
solidous is offline   Reply With Quote
Old 10-03-2005, 11:03 AM   #2
solidous
Junior Member
 
Join Date: Sep 2004
Posts: 19
Default

anyone?
solidous is offline   Reply With Quote
Old 10-03-2005, 11:22 AM   #3
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

The error message tells u you need to define a "announce(INCOMPLETE)" variable.
I don't have any proc_incomplete in the source of ioBv2 I have here.
What version are you using ?

the announces are probably defined in the .skin file, in which you need to:
set announce(INCOMPLETE) "something"
Mouton is offline   Reply With Quote
Old 10-03-2005, 11:29 AM   #4
solidous
Junior Member
 
Join Date: Sep 2004
Posts: 19
Default

im using the 2.0 ioBanana, but i dont know what variable input, and where. can help?
solidous is offline   Reply With Quote
Old 10-03-2005, 11:35 AM   #5
solidous
Junior Member
 
Join Date: Sep 2004
Posts: 19
Default

proc ioBroc_incomplete {nick uhost hand chan arg} {
global disable binary find_path announce random inc_tag
if { $disable(INCOMPLETE) == 0 } {
set result ""
set inc 0
set now [clock seconds]
foreach eachpath $find_path {
set eachpath [split $eachpath "|"]
set ppath [clock format $now -format [lindex $eachpath 0] -gmt 1]
set check [catch [exec $binary(FIND) $ppath -name $inc_tag -maxdepth [lindex $eachpath 1]] tmp]
if { $check == 0 } {
continue
} else {
incr inc
set result [exec $binary(FIND) $ppath -name $inc_tag -maxdepth [lindex $eachpath 1]]
foreach line [split $result \n] {
if {$line == ""} { continue }
regexp {[^\\]*$} $line line
## string range $line [string length $inc_tag] end
set output $announce(INCOMPLETE)
set output [ioB:replacevar $output "%release" $line]
set output [ioB:basicreplace $output "INC"]
ioB:tsend chan $chan $output
}
}
}
if { $inc == 0 } {
set output $announce(INCOMPLETE)
set output [ioB:replacevar $output "%release" "No Incomplete releases found"]
set output [ioB:basicreplace $output "INC"]
ioB:tsend chan $chan $output
}
}
}
solidous is offline   Reply With Quote
Old 10-03-2005, 01:24 PM   #6
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

I don't have this proc either.. You've obviously copied this one from dZSbot (or someone did it for you). Read the installation manual that came with the mod or ask the guy who made the changes for you.

PS: could you also change make sure your board profile is linked to your customer portal account. You don't appear as a registered user at the moment.
Harm is offline   Reply With Quote
Old 10-03-2005, 01:59 PM   #7
solidous
Junior Member
 
Join Date: Sep 2004
Posts: 19
Default

about this registration, i payed the ioftp via paypal at the old web site, but right now, at this new place, i dont have more th registered status grrrrrrrrrr
solidous is offline   Reply With Quote
Reply

Tags
paths, problem, rigth, script, server


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 11:29 PM.

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