amsg { var %x = 1 while (%x <= $chan(0)) { if ($chan(%x) == #rspc-staff) { halt } else { msg $chan(%x) $1- inc %x } } }