mIRC Home    About    Download    Register    News    Help

Print Thread
#27524 01/06/03 09:09 PM
Joined: Jun 2003
Posts: 10
S
Spyru Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Jun 2003
Posts: 10
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


SIGNATURE:
Ik ben Nederlands wink grin
#27525 01/06/03 09:28 PM
Joined: Jan 2003
Posts: 96
J
Babel fish
Offline
Babel fish
J
Joined: Jan 2003
Posts: 96
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

#27526 02/06/03 06:25 AM
Joined: Jun 2003
Posts: 10
S
Spyru Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Jun 2003
Posts: 10
I could have thought about that myself blush grin
OK, this will help me.

grtz Spyru


SIGNATURE:
Ik ben Nederlands wink grin

Link Copied to Clipboard