mIRC Home    About    Download    Register    News    Help

Active Threads | Unanswered Past 24 hours | Past 48 hours | Past Week | Past Month | Past Year
Bug Reports Jump to new posts
Re: /list hiding some channels on DALnet Khaled 15 hours ago
Thanks this issue has been fixed for the next version.
1 95 Read More
Scripts & Popups Jump to new posts
Re: Multiple server join script Simo Yesterday at 11:44 AM
perhaps this is more accurate incase services is down and up again to ask you to identify for your nick

Code


on *:start: {
  server irc.blach.com  -i YourNick YourAltNick  user@ gecosname
  server -m irc.blah2.org -i YourNick YourAltNick  user@ gecosname 
  server -m irc.blah3.org -i YourNick YourAltNick  user@ gecosname 
  server -m irc.blah4.org -i YourNick YourAltNick  user@ gecosname 
}



on *:notice:*:?:{

  if ($regex($1-,/(.*This.*nickname.*is.*registered.*and.*protected.*If.*it.*is.*your.*)/Si) && $nick == nickserv) {   
    if ($istok(network-here ,$network,32) && $me == yournick) { nickserv identify password-here }   
    if ($istok(network-here ,$network,32) && $me == yournick) { nickserv identify password-here }   
    if ($istok(network-here ,$network,32) && $me == yournick) { nickserv identify password-here }   
    if ($istok(network-here ,$network,32) && $me == yournick) { nickserv identify password-here }   
    if ($istok(network-here ,$network,32) && $me == yournick) { nickserv identify password-here }   
    if ($istok(network-here ,$network,32) && $me == yournick) { nickserv identify password-here }   
    if ($istok(network-here ,$network,32) && $me == yournick) { nickserv identify password-here }   
    if ($istok(network-here ,$network,32) && $me == yournick) { nickserv identify password-here }   
    if ($istok(network-here ,$network,32) && $me == yournick) { nickserv identify password-here }   
  }

 ; for undernet
  if ($regex($1-,/(.*VERIFICATIE.*SUCCESVOL.*)/Si) && $nick == X) {  if ($istok(UnderNet,$network,32)) { delayjoinxz 3 1 #channel1,#channel2 } }
 
 ; for anope services
  if ($regex($1-,/(.*Password.*accepted.*|.*you.*identified.*)/Si) && $nick == nickserv) {   
    if ($istok(some-network,$network,32)) { delayjoinxz 3 1 #channel1,#channel2 }   
  }

}




; /delayjoinxz <start-delay> <join-delay> #chan1 [pass][,#chan2 [pass],...]
; <start-delay> is the number of seconds to wait before joining channels
; <join-delay> is the number of seconds to wait between channel joins

delayjoinxz {
  if ($1 !isnum || $2 !isnum || (!$3)) { echo /delayjoin: invalid parameters }
  else {
    var %delay = $1
    var %x = 1
    while (%x <= $numtok($3,44)) {
      .timer 1 %delay join $!eval( $gettok($3,%x,44) ,0)
      inc %delay $2
      inc %x
    }
  }
}

3 115 Read More