Being a nosy bubble burster, :P can't we do it using /scon -at1?
alias looper { if $isid { var %chans 1 while $chan(%chans) { scon -at1 $1 $v1 $$2 inc %chans } } }
no. you're looping through channels on the current connection and performing /scon -at1 for each one, which is backwards.