## Set url
set url "http://www.mywebspace.de/maps.txt"
##################### No edit ######################
if {[catch {package require http} error]} { putlog "Error=$error" }
bind pub - !download download
proc download {nick uhost hand chan arg} {
set tok [http::geturl $::url]
set data [http::data $tok]
http::cleanup $tok
set fs [open scripts/download.txt w]; puts $fs $data; close $fs
}