PDA

View Full Version : Windrop Help :s


sjabby
10-05-2004, 01:33 PM
«20:31:55» {} [20:31] can't set "::ftp::VERBOSE": parent namespace doesn't exist
«20:31:55» {} while executing
«20:31:55» {} "set ::ftp::VERBOSE 0"
«20:31:55» {} invoked from within
«20:31:55» {} "if {$ioBvar(debug)==2} {set ::ftp::VERBOSE 1; set ::ftp::DEBUG 1} else {set ::ftp::VERBOSE 0; set ::ftp::DEBUG 0}"
«20:31:55» {} (file "scripts/iobanana.tcl" line 313)
«20:31:55» {} invoked from within
«20:31:55» {} "source scripts/iobanana.tcl"
«20:31:55» {} (file "eggdrop.conf" line 1331)
«20:31:55» {} [20:31] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

How to fix this? Does anyone know?:confused:

neoxed
10-05-2004, 04:10 PM
It means you're trying to set the "VERBOSE" variable in the "::ftp" namespace, except the namespace does not exist (yet).

Make sure that "source ../path/to/ftp.tcl" comes before "set ::ftp::VERBOSE 0".

sjabby
10-05-2004, 04:14 PM
################################################## #############################
# DEBUG #
################################################## #############################
source scripts/log.tcl
source scripts/ftp.tcl
set ioBvar(debug) 0
set ioBvar(debuglog) "h:/ioFTPD/logs/BotError.log"
# Once you've edited everything above, you can safely remove the next line and start your bot
#die "My owner is soo lazy :> Go check ioBanana.tcl"

################################################## #############################
### CONFIGURATION ENDS HERE ; DO NOT EDIT BELOW ###
################################################## #############################

set ioBver "ioBanana 9 by Mouton & Harm"; set reldate "28/07/2004"

set ioBvar(status) 0
set procs ""
#if {$ioBvar(debug)==2} {set ::ftp::VERBOSE 1; set ::ftp::DEBUG 1} else {set ::ftp::VERBOSE 0; set ::ftp::DEBUG 0}
if {$ioBvar(distributed)} {set ioBvar(invite_m) 0}
set lastoct [file size $ioBvar(iolog)]

################################################## #############################

Thats the TCL code..