PDA

View Full Version : ioU pure tcl uptime script


Ofloo
05-04-2004, 10:27 AM
# Commands:
# - site uptime

# [Events]
# OnServerStart = TCL ..\scripts\ioU\ioU.tcl start

# [FTP_Custom_Commands]
# uptime = TCL ..\scripts\ioU\ioU.tcl uptime

# [FTP_SITE_Permissions]
# uptime = *

Mouton
05-04-2004, 10:30 AM
post scripts in ioftpd.com/scripts/new_script.php

Ofloo
05-04-2004, 02:13 PM
oh ok sorry

DR. GiGa BYTe
08-21-2004, 12:05 AM
--------------------------- ErrorInfo ----------------------------
can't read "iou(time)": no such variable
while executing
"calcuptime $iou(time)"
invoked from within
"if {[string match -nocase start [lindex $args 0]]} {
setstarttime
} elseif {[string match -nocase uptime [lindex $args 0]]} {
iputs -nobuffer "ioF..."
(file "..\scripts\iou\ioU.tcl" line 50)
------------------------------------------------------------------

mmhhhh i don't know why i get this error, but as i remember it was working at the beginning.
meanwhile i tried some scripts, but i didnt changed the ioU config.

any ideas what it could be?

thanx
drgb

Ofloo
08-25-2004, 04:11 PM
this can mean that u unset the global variable witch to me is unlikely.. did u restart the server when u installed it ?

if u keep having this error use the older script difference between 0.2 and 0.1 = that 0.2 doesn't use a cache file to store the start time and 0.1 does .. if u keep loozing the variable use 0.1 its not a script error not likely that is unless the storage of global variables is removed in newer versions somehow .. also this is verry unlikely.. anyway this error means that the global variable does not exist.. either u didn't reboot after installing the script but u sad it worked so i suppose u did .. check the install instructions and if u done all that and still got the error try 0.1 there is no real changes besides that global variable so ..