I'm not sure why there would be a conflict, except that you can only have one on *:start: per script file. BUT...
Since we're only talking about 9 channels, we can tighten up the script and do away with the on start altogether.
Usage would still be /joinfave
foldernamealias joinfave {
window -hlp @Favorites
set -su0 %fvct $ini(mirc.ini,chanfolder,0)
while %fvct {
aline @Favorites $readini(mirc.ini,chanfolder,$ini(mirc.ini,chanfolder,%fvct))
dec %fvct
}
set %join.net $network
set %join.foldr $1
filter -cww @Favorites @Favorites $+(*,%join.net,*)
filter -cww @Favorites @Favorites $+(*,%join.foldr,*)
var %y = $filtered, %x = 1
while ( %x <= %y ) {
.timer 1 %x join $gettok($line(@Favorites,%x),1,44)
inc %x
}
window -c @Favorites
unset %join.*
}
Also, I still suspect that by server you mean network, in which case we could do away with the foldername too.
In that case it would be very simple to put the joinfave onto a status window popup, and eliminate typing