I seem to be missing something, I edited above script to this:
alias joinchans {
var %c = 1
while $read($1,n,%c) {
if ( $left($v1,1) != ; ) {
$+(.timer,join.,$cid,.,$v1) 1 $calc(%c * 2) join -n $v1
}
inc %c
}
}
, but it doesn't work.
Basically I just want to be able to skip channels that are commented out using ";".
The error I get is:
-
* /join: insufficient parameters
-
Edit: also the delay should be shorter, as you can see, in the script I was previously using there was no delay at all and it worked perfectly fine.
Thanks a lot for any help!