Hi!
you just have to loop all chans you're on with $chan() and echo on:
$chan(0) is the total number of channels you're on.
$chan(1) is the 1st chan you're on
etc...

Here's the code:

%x = 0
while (%x < $chan(0)) {
/inc %x
/echo $chan(%x) bla blah!
}