tglogo.png
0 LIKES

Snippet


Auto-Join channels after identify by simo

In Category General IRC Posted by Snippets On 12/06/23

join channels after u have identified for your registered nick just incase u have access on the channels you are joining to have u gaining access automated.
on 1:Connect:{ 
   if ($istok(dalnet freenode,$network,32)) { nick johnDoe24 | ns identify jh498kjfwjh2498 } ; example        
   if ($istok(undernet ,$network,32)) { nick johnDoe24 | .msg [email protected]  login account password } ; example        
}

on *:notice:*:?:{
;for undernet  
  if ($regex($1-,/(.*AUTHENTICATION.*SUCCESSFUL.*)/Si) && $nick == X) {   
    if ($istok(undernet,$network,32)) { join #help,#lounge,#chat }  ; example          
  }
  ;for other networks  
    if ($regex($1-,/(.*Password.*accepted.*|.*you.*identified.*)/Si) && $nick == nickserv) {   
    if ($istok(dalnet freenode,$network,32)) { join #help,#lounge,#chat }  ; example        
  }
}


Comments 0


Please note that on our website we use cookies necessary for the functioning of our website, cookies that optimize the performance. To learn more about our cookies, how we use them and their benefits, please read our Cookie Policy.
I Understand