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


On CONNECT { if ($network == undernet)
  msg x@channels.undernet.org login Gomp kragom
} 



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{ if ($network == undernet)
set $+(%,failedchan,.,$2) $2
var %delay = $calc($rand(1,150) + $gettok($1-,-2,32))
.timer 1 %delay join $+(%,failedchan,.,$2)
}

on mejoin#{ if ($network == undernet)
unset $+(%,failedchan,.,$chan)
}


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

 

[/quote]
ok, the problem is the way you're using the format to write the script. Ie:
Code:
;your script
On CONNECT

;Correct way to write the script:
ON *:CONNECT: {

most of the script is like that, and, if you know all of that other type of scripting, how do u not know this? lol, just fix all of the formats, and, you'll be good, if you don't know how to, just, let us know here, and, someone will reply with the solution.


-Kurdish_Assass1n