Thanks to
$download() you no longer need to script such a thing, you just specify something like:
var %url =
http://mirc.stealth.net/download/mirc616.exeif ($download(mirc616.exe, GET, %url , 2, binary)) run mirc616.exe
else echo -a Error retrieving data