For your hopall alias you could do the below to get the same thing.
alias hopp { var %t 1 | while (%t <= $chan(0)) { hop -c $chan(%t) $iif($1,$1-) | inc %t } }