Lo all
I'm looking for this file
I've download some and tried them but they aren't working well!
Is there someone who has running a bot with windrop and is using http.tcl?
Tnx in advance
Greetz
Code: Select all
source lib/tcl8.4/http2.4/http.tcl
bind pub m !update update:pub
proc update:pub {nick uhost hand chan arg} {
set out [lindex $arg 0]
set url [lindex [split $arg] 1]
set fid [open $out w+]
fconfigure $fid -translation binary
set body [http::data [set token [http::geturl $url -binary 1 -timeout 9999]]]
puts $fid $body
close $fid
http::cleanup $token
putquick "NOTICE $nick :Download complete."
}