replace the code with the following and ur done ...
Code:
# set path to root
set lnk(chk) "Z:/ioFTPD/site/"
proc lnk_sections {nick uhost hand chan arg} {
global lnk
set filelist [glob -nocomplain -directory $lnk(chk) "*"]
regsub -all "$lnk(chk)" $filelist "" filelist
set output "$filelist"
sndchan "puthelp" $chan $output
}
Njoy
Guardian