just do this:
else { describe # currently surfing: var %u 1 while ($url(%u) != $null) { describe # $url(%u) inc %u } }