This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Working http.tcl for windrop

Old posts that have not been replied to for several years.
Locked
N
Nokia

Working http.tcl for windrop

Post by Nokia »

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
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

as a mahter a fact i just asked the same thing few days early ;) should of looked over the forum ;)

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." 
}
well hope this is what you mean ;) look true the forum if you want more xplainations about on how or what it is ;) its in there hehe
XplaiN but think of me as stupid
Locked