Sparkys Simple Nickserv Identify

Published  Jan 16, 2014
Updated  Jan 16, 2014

Description

this is a simple auto ident on connect script

Screenshots

Download

Filename
Size
Date
Downloads
  nickservident.zip
496 B
Jan 16, 2014
134
Sign in to comment.
dronez4   -  Jan 19, 2014

if its simple then why isit in a zip folder

aKoN-MaN  -  Jan 21, 2014

it told me it needed a zip or a http link first time uploading here

dronez4  -  Feb 22, 2014

check this out, sorta similar to urs so i thought i'd make a more advanced one.

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
  list 2000, 250 120 230 29
  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 %pass, 10, 300 40 162 26, %pass
  edit "", 6, 70 40 162 26
  edit "", 7, 70 100 162 26
}
on *:dialog:nickserv:*:*: {
  if ($devent == sclick) {
    if ($did == 1) { dialog -x $dname }
    if ($did == 2) {
      ns register $did(6) $did(7)
    }
    elseif ($did == 14) {
      enable #noticingg
      .timer 1 3 disable #noticingg
      set %pass $did(10)
      ns id $did(10)
    }
    elseif ($did == 15) {
    ns logout }
  }
  if ($devent == init) {
    did -a nickserv 10
  }
}

#noticingg off
ON *:NOTICE:*:*: {
  if ($nick == nickserv) {
    if ($1-2 == Password incorrect.) {
      did -c nickserv 2000
      did -a nickserv 2000 Incorrect Password
      .timer 1 2 dialog -m nickserv nickserv
    }
    if ($1-2 == Password accepted) {
      did -c nickserv 2000
      did -a nickserv 2000 Password Correct, you are logged in
      .timer 1 2 dialog -m nickserv nickserv
    }
    if ($1-2 == you are) {
      did -c nickserv 2000
      did -a nickserv 2000 $1-
    }
    if ($1-3 == Your nick has) {
      did -c nickserv 2000
      did -a nickserv 2000 $1-
    }
  }
}
#noticingg end
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.