PDA

View Full Version : [External] !inc problem


solidous
10-02-2005, 12:26 PM
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
10-03-2005, 11:03 AM
anyone?

Mouton
10-03-2005, 11:22 AM
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"

solidous
10-03-2005, 11:29 AM
im using the 2.0 ioBanana, but i dont know what variable input, and where. can help?

solidous
10-03-2005, 11:35 AM
proc ioB:proc_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
}
}
}

Harm
10-03-2005, 01:24 PM
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.

solidous
10-03-2005, 01:59 PM
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