Hey all,

I am new to using mIRC, I have been using free clients for a couple of months now (besIRC, HydraIRC) and would like to move onto a more popular client.

I am trying to grasp the mIRC scripting language, but can't find any decent resources on getting started.

I am trying to write a script which will save me having to type out all the channels I idle everytime I restart my client. I usually visit three servers, Quakenet, Rizon and the worldofspectrum.

Here is what I have so far:

Code:
on *:START:{
  

  server irc.rizon.dk
  server -m irc.quakenet.org
}
 on *:CONNECT:{

  if($network == Rizon)
  {
    join #care

  }
 
 if($network == QuakeNet)
 { 
   join #2on2.css 
 } 
}


The problem I am having is when I start my client, the channels I have specified I want to connect to in Rizon open up in Quakenet. Thus, the validation check on the network doesn't seem to be working correctly. Can anyone help me with this?







Last edited by Grenadier; 29/05/08 02:52 AM.