as the other guy who posted said, use while loops.
Also, using the .timer to call the alias that it is in *should* create an infinate loop (don't know if this is what you want...)
have a popup to add the current chan to a variable something like this:
Add $active $+ :{ addtok(%playmp3channels,$active,32)
and then in the alias, have:
alias aliasname {
;choose random file to play here...
var %i = 1
while %i <= $numtok(%playmp3channels,32) {
;while %i is less than or equal to the number of channels in the variable, do this:
msg $gettok(%playmp3channels,%i,32) bleh...
msg $gettok(%playmp3channels,%i,32) blah...
msg $gettok(%playmp3channels,%i,32) bluh...
;messages the selected channel what ever...
inc %i
}
.timer bleh...
}
something like that, so you can add/remove a channel from the playing list, and get your script to play the mp3 to all of the selected channels.
Don't know if the above is correct, just wrote it, not got time to check!!!
Try it yourself
And yes, I know the link below doesn't work!!!