Simple Nickserv Register/login Dialog

By dronez4 on Feb 02, 2013

Simple nickserv register/login dialog for newbs who forget how to use NS

;Made by dronez4, Dont remove the copyright
menu * {
  Nickserv
  .NickServ-Register:/dialog -m nickserv nickserv
}
dialog nickserv {
  title "Nickserv Register Script"
  size -1 -1 500 200
  option pixels
  box "Register", 30, 10 10 230 160
  box "Login/Logout", 31, 240 10 245 160
  button "Close", 1, 400 175 100 25
  button "Nickserv Register", 2, 80 136 95 25
  button "Nickserv Login", 14, 280 90 95 25
  button "Nickserv Logout", 15, 380 90 99 25
  text "Register Password:", 3, 16 40 50 25
  text "Register Email:", 4, 20 100 40 25
  text "Identify Password:", 5, 250 40 50 25
  text "© Copyright By dronez4 ©", 12, 10 177 200 100
  text "Nickserv Script droneV.1.0", 13, 170 177 200 100
  edit "", 10, 300 40 162 30
  edit "", 6, 70 40 162 30
  edit "", 7, 70 100 162 30
}
on *:dialog:nickserv:*:*: {
  if ($devent == sclick) {
    if ($did == 1) { dialog -x $dname }
    if ($did == 2) { 
      ns register $did(6) $did(7)
    }
    elseif ($did == 14) {
      ns id $did(10)
    }
    elseif ($did == 15) {
    ns logout }
  }
}

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.