Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.70 KB | None | 0 0
  1. ; Somewhat simple auto connect script.
  2. ; By: Pain
  3. ; Kudos: ex0a, KnickLighter
  4. ; - irc.6667.eu - #main -
  5.  
  6. on *:CONNECT:{
  7.   if ($network == NETWORKNAME) {
  8.  
  9.     ; Regex checks for "z" umode and allows Oper.
  10.     if (/.*sets\smode\:\s\+[a-y]*z[a-y]*$/i) {
  11.      oper $me YOUR.UBER.SUPER.SECRET.OPER.PASSWORD
  12.     }
  13.  
  14.     ; Regex checks for "O" umode and allows Identification
  15.     if (/.*sets\smode\:\s\+[a-zA-NP-Z]*O[a-zA-NP-Z]*$/) {
  16.      .msg NickServ IDENTIFY YOUR.SUPER.SECRET.PASSWORD
  17.     }
  18.    
  19.     ; Regex checks for "r" umode and allows channel join.
  20.     if (/.*sets\smode\:\s\+[a-qs-z]*r[a-qs-z]*$/i) {
  21.      join #CHANNEL,#CHANNEL1,#CHANNEL2
  22.     }
  23.   } ;Halt goes here, but not nescessary
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement