Hey..


I got it all up and working...

using this code..

(in aliases.ini)
Code:
alias joinchans {
  var %c = 1
  while $read(file.txt,n,%c) {
    $+(.timer,join.,$cid,.,$v1) 1 $calc(%c  2) join $v1
    inc %c
  }
} 



On CONNECT {
  msg x@channels.undernet.org login Gomp mypasswordhere
} 



menu channel {
  Hide Channel Switchbar  window -ha $active
  Show Channel Switchbar  { window -w $active }
} 


menu query {
  reload logfile loadbuf $1 $+(,$sfile($logdir.log),)
}


;Target changed to fast, please try again in xxx seconds....
raw 439{
set $+(%,failedchan,.,$2) $2
var %delay = $calc($rand(1,150) + $gettok($1-,-2,32))
.timer 1 %delay join $+(%,failedchan,.,$2)
}

on mejoin#{
unset $+(%,failedchan,.,$chan)
}


on op#Ascetickism$iif($opnick == $me,.mode $chan -o $me)
  




Now, when I now want to also joine another server..

using:

/server -m irc.paranormal.se -j #torget -msg nickserv identify mypassweordhere

Then opens ALL the channels from the file.txt, also in the nev server..

which is no cool.. hehehe

Help me?

I tested using :

alias joinchans {
if ($network == undernet)
var %c = 1
while $read(file.txt,n,%c) {
$+(.timer,join.,$cid,.,$v1) 1 $calc(%c 2) join $v1
inc %c
}
}


But that did not help, ..


confused


I am willing to redo all of it BTW, so please tell em what to do from scratch if you could.

I might be mixing scripts from different helpers.


I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.