View Single Post
Old 07-17-2004, 07:24 AM  
Matrix
Junior Member
 
Join Date: Jul 2004
Posts: 19
Default [GERMAN] BNC help

Hi,
mein bnc funzt irgendwie nicht, der sagt immer down.
ioFTPD ist aber an.

dzsbot.tdl:

# SETUP THIS ONLY IF YOU HAVE BNC for your SERVER
set bnc(LIST) "192.168.0.97:9999"
set bnc(USER) "ioFTPD"
set bnc(PASS) "ioFTPD"
set bnc(TIMEOUT) 300

--------------
proc proc_bnc { nick uhost hand chan arg } {
global bnc sitename binary disable
if { $disable(NCFTPLS) == 0 } {
putquick "NOTICE $nick : list of bnc's for $sitename"
foreach eachbnc $bnc(LIST) {
if {$eachbnc == ""} {continue}
set status [catch { exec $binary(NCFTPLS) $bnc(USER) $bnc(PASS) $eachbnc } result]
if { $status == 0 } { set bncchk "UP" } else { set bncchk "DOWN" }
puthelp "NOTICE $nick : $eachbnc - $bncchk"
}
}
}


ist da irgendwo ein fehler, oder wo könnte der fehler `sonst sein.

Matrix
Matrix is offline   Reply With Quote