Good one, Scakk. About this: $iif($2,$2) , you should just use $$2...'cause if there's no $2, you'll still get an insufficient parameter error when other commands are used.
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
}
}
}