alias getURL {
if ($1) {
if ($1 isnum) {
if ($urlget($1).state == fail) { echo -atic notice *** Are you connected to the internet? | halt }
.run notepad.exe $qt($urlget($1).target)
}
else {
var %target getURL.txt
write -c %target
return $urlget($1,gf,%target,getURL)
}
}
}