This script is with the distribution of TCL 8.3.
You can also download it on my site : http://yews.fr.st/ (in "Téléchargements" and then "Scripts TCL")
Hi...cheers for it...wicked site btw!!!
Could u tell me what is wrong with this...
Code:
bind pub - !test ftptest
package require FTP 1.2
proc ftptest {nick uhost hand chan text} {
set server <serverip>
set user anonymous
set passwd me@me.com
if {[FTP::Open $server $user $passwd -timeout 45]} {
foreach line [FTP::list] {
putserv "PRIVMSG #TestChannel :$line"
}
}
putserv "PRIVMSG #TestChannel :Could not connect"
}