Instead of commenting the channels in the file, why not just remove them? :tongue: You could also remove the timer so there won't be any delay when joining channels.
If you still prefer the commented channels, try this
alias joinchans {
var %c = 1, %cc
while $read(file.txt,n,%c) {
%cc = $v1
if ( $left(%cc,1) != ; ) join %cc
inc %c
}
}
Not tested but should work