mIRC Homepage
Posted By: Spyru Perform - 01/06/03 09:09 PM
Is there a script that will perform server connections and channel joins and perform commands in a channel. If that does not exist, it might be a good idea. confused

grtz, Spyru
Posted By: Jesper Re: Perform - 01/06/03 09:28 PM
Code:
on *:start: {
  .server irc.server.org
}


on *:CONNECT: {
  if ($network == network) { 
    join #channel1
    join #channel2
    perform other commands you like before you join a channel.
  }
}


on 1:JOIN:#:{
   if ($chan == #channel1) {
    do this command
    do that command
   }
   if ($chan == #channel2) {
    do this command
    do that command
  }
}



;############ replace irc.server.org with your actual server name
;############ replace network with your servers actual networkname
;############ replace #channel1(2) with the names of the channels you want to join

Good luck smile
Posted By: Spyru Re: Perform - 02/06/03 06:25 AM
I could have thought about that myself blush grin
OK, this will help me.

grtz Spyru
© mIRC Discussion Forums