Easy NickServ Identify Script

By Goldy58 on Jan 30, 2008

Simply this is to let you identify your Nick Name with a touch of a button, when NickServ Notice you for your password, THis will Automatically pops up a NickServ Dialog that lets you hold up to 12 names and password. Not much, but comes in handy when you dont feel like typing in all the info by fingers. And also it changes names too.

on *:notice:*:*:{
 if ($nick == NickServ) && ($1-6 == This nickname is registered and protected.) { /dialog -mor easy_ns_ident easy_ns_ident }
}

dialog easy_ns_ident {
 title "Nickserv Identification Dialog"
 size -1 -1 365 426
 option pixels notheme
 box "About NickServ Identification Dialog", 1, 2 5 361 60
 text "This easy-to-use dialog lets you identify whatever name you have saved up in. Click on the small identify button, your name is change to whatever it's in, and your identified.", 2, 7 22 350 41, center
 button "...", 3, 5 81 20 20
 text "NickName:", 4, 35 83 50 17
 text "Password:", 5, 205 83 55 17
 edit "", 6, 260 83 100 20, pass
 edit "", 7, 90 83 100 20
 button "...", 8, 5 105 20 20
 text "NickName:", 9, 35 107 50 17
 text "Password:", 10, 205 107 55 17
 edit "", 11, 260 107 100 20, pass
 edit "", 12, 90 107 100 20
 button "...", 13, 5 130 20 20
 text "NickName:", 14, 35 132 50 17
 text "Password:", 15, 205 132 55 17
 edit "", 16, 260 132 100 20, pass
 edit "", 17, 90 132 100 20
 button "...", 18, 5 155 20 20
 text "NickName:", 19, 35 157 50 17
 text "Password:", 20, 205 157 55 17
 edit "", 21, 260 157 100 20, pass
 edit "", 22, 90 157 100 20
 button "...", 23, 5 180 20 20
 text "NickName:", 24, 35 182 50 17
 text "Password:", 25, 205 182 55 17
 edit "", 26, 260 182 100 20, pass
 edit "", 27, 90 182 100 20
 button "...", 28, 5 205 20 20
 text "NickName:", 29, 35 207 50 17
 text "Password:", 30, 205 207 55 17
 edit "", 31, 260 207 100 20, pass
 edit "", 32, 90 207 100 20
 button "...", 33, 5 230 20 20
 text "NickName:", 34, 35 232 50 17
 text "Password:", 35, 205 232 55 17
 edit "", 36, 260 232 100 20, pass
 edit "", 37, 90 232 100 20
 button "...", 38, 5 255 20 20
 text "NickName:", 39, 35 257 50 17
 text "Password:", 40, 205 257 55 17
 edit "", 41, 260 257 100 20, pass
 edit "", 42, 90 257 100 20
 button "...", 43, 5 280 20 20
 text "NickName:", 44, 35 282 50 17
 text "Password:", 45, 205 282 55 17
 edit "", 46, 260 282 100 20, pass
 edit "", 47, 90 282 100 20
 button "...", 48, 5 305 20 20
 text "NickName:", 49, 35 307 50 17
 text "Password:", 50, 205 307 55 17
 edit "", 51, 260 307 100 20, pass
 edit "", 52, 90 307 100 20
 button "...", 53, 5 329 20 20
 text "NickName:", 54, 35 331 50 17
 text "Password:", 55, 205 331 55 17
 edit "", 56, 260 331 100 20, pass
 edit "", 57, 90 331 100 20
 button "...", 58, 5 355 20 20
 text "NickName:", 59, 35 357 50 17
 text "Password:", 60, 205 357 55 17
 edit "", 61, 260 357 100 20, pass
 edit "", 62, 90 357 100 20
 box "", 63, 5 377 356 7
 link "www.freewebs.com/goldy58", 64, 6 400 140 17
 button "Close", 65, 295 395 65 25
}

menu channel,status,nicklist,query {
 Goldy's Dialogs
 .Nickserv Identifier:/dialog -mor easy_ns_ident easy_ns_ident
}

on *:dialog:easy_ns_ident:*:*: {
 if ($devent == init) {
   did -a easy_ns_ident 7 $readini(ns_ident.nsi,ns_name,1) | did -a easy_ns_ident 6 $readini(ns_ident.nsi,ns_password,1)
   did -a easy_ns_ident 12 $readini(ns_ident.nsi,ns_name,2) | did -a easy_ns_ident 11 $readini(ns_ident.nsi,ns_password,2)
   did -a easy_ns_ident 17 $readini(ns_ident.nsi,ns_name,3) | did -a easy_ns_ident 16 $readini(ns_ident.nsi,ns_password,3)
   did -a easy_ns_ident 22 $readini(ns_ident.nsi,ns_name,4) | did -a easy_ns_ident 21 $readini(ns_ident.nsi,ns_password,4)
   did -a easy_ns_ident 27 $readini(ns_ident.nsi,ns_name,5) | did -a easy_ns_ident 26 $readini(ns_ident.nsi,ns_password,5)
   did -a easy_ns_ident 32 $readini(ns_ident.nsi,ns_name,6) | did -a easy_ns_ident 31 $readini(ns_ident.nsi,ns_password,6)
   did -a easy_ns_ident 37 $readini(ns_ident.nsi,ns_name,7) | did -a easy_ns_ident 36 $readini(ns_ident.nsi,ns_password,7)
   did -a easy_ns_ident 42 $readini(ns_ident.nsi,ns_name,8) | did -a easy_ns_ident 41 $readini(ns_ident.nsi,ns_password,8)
   did -a easy_ns_ident 47 $readini(ns_ident.nsi,ns_name,9) | did -a easy_ns_ident 46 $readini(ns_ident.nsi,ns_password,9)
   did -a easy_ns_ident 52 $readini(ns_ident.nsi,ns_name,10) | did -a easy_ns_ident 51 $readini(ns_ident.nsi,ns_password,10)
   did -a easy_ns_ident 57 $readini(ns_ident.nsi,ns_name,11) | did -a easy_ns_ident 56 $readini(ns_ident.nsi,ns_password,11)
   did -a easy_ns_ident 62 $readini(ns_ident.nsi,ns_name,12) | did -a easy_ns_ident 61 $readini(ns_ident.nsi,ns_password,12)
 }
 elseif ($devent == sclick) {
   if ($did == 3 && $did(6) && $did(7)) { nick $did(7) | echo -s NickServ Identify * $+ $did(6) $+ * | ns identify $did(6) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 8 && $did(11) != $null && $did(12) != $null) { nick $did(12) | echo NickServ Identify * $+ $did(11) $+ * | ns identify $did(11) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 13 && $did(16) != $null && $did(17) != $null) { nick $did(17) | echo NickServ Identify * $+ $did(16) $+ * | ns identify $did(16) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 18 && $did(21) != $null && $did(22) != $null) { nick $did(22) | echo NickServ Identify * $+ $did(21) $+ * | ns identify $did(21) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 23 && $did(26) != $null && $did(27) != $null) { nick $did(27) | echo NickServ Identify * $+ $did(26) $+ * | ns identify $did(26) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 28 && $did(31) != $null && $did(32) != $null) { nick $did(32) | echo NickServ Identify * $+ $did(31) $+ * | ns identify $did(31) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 33 && $did(36) != $null && $did(37) != $null) { nick $did(37) | echo NickServ Identify * $+ $did(36) $+ * | ns identify $did(36) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 38 && $did(41) != $null && $did(42) != $null) { nick $did(42) | echo NickServ Identify * $+ $did(41) $+ * | ns identify $did(41) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 43 && $did(46) != $null && $did(47) != $null) { nick $did(47) | echo NickServ Identify * $+ $did(46) $+ * | ns identify $did(46) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 48 && $did(51) != $null && $did(52) != $null) { nick $did(52) | echo NickServ Identify * $+ $did(51) $+ * | ns identify $did(51) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 53 && $did(56) != $null && $did(57) != $null) { nick $did(57) | echo NickServ Identify * $+ $did(56) $+ * | ns identify $did(56) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 58 && $did(61) != $null && $did(62) != $null) { nick $did(62) | echo NickServ Identify * $+ $did(61) $+ * | ns identify $did(61) | dialog -x easy_ns_ident easy_ns_ident }
   elseif ($did == 65) {
     if ($did(6) && $did(7)) { writeini ns_ident.nsi NS_Name 1 $did(7) | writeini ns_ident.nsi NS_Password 1 $did(6) }
     if ($did(11) && $did(12)) { writeini ns_ident.nsi NS_Name 2 $did(12) | writeini ns_ident.nsi NS_Password 2 $did(11) }
     if ($did(16) && $did(17)) { writeini ns_ident.nsi NS_Name 3 $did(17) | writeini ns_ident.nsi NS_Password 3 $did(16) }
     if ($did(21) && $did(22)) { writeini ns_ident.nsi NS_Name 4 $did(22) | writeini ns_ident.nsi NS_Password 4 $did(21) }
     if ($did(26) && $did(27)) { writeini ns_ident.nsi NS_Name 5 $did(27) | writeini ns_ident.nsi NS_Password 5 $did(26) }
     if ($did(31) && $did(32)) { writeini ns_ident.nsi NS_Name 6 $did(32) | writeini ns_ident.nsi NS_Password 6 $did(31) }
     if ($did(36) && $did(37)) { writeini ns_ident.nsi NS_Name 7 $did(37) | writeini ns_ident.nsi NS_Password 7 $did(36) }
     if ($did(41) && $did(42)) { writeini ns_ident.nsi NS_Name 8 $did(42) | writeini ns_ident.nsi NS_Password 8 $did(41) }
     if ($did(46) && $did(47)) { writeini ns_ident.nsi NS_Name 9 $did(47) | writeini ns_ident.nsi NS_Password 9 $did(46) }
     if ($did(51) && $did(52)) { writeini ns_ident.nsi NS_Name 10 $did(52) | writeini ns_ident.nsi NS_Password 10 $did(51) }
     if ($did(56) && $did(57)) { writeini ns_ident.nsi NS_Name 11 $did(57) | writeini ns_ident.nsi NS_Password 11 $did(56) }
     if ($did(61) && $did(62)) { writeini ns_ident.nsi NS_Name 12 $did(62) | writeini ns_ident.nsi NS_Password 12 $did(61) }
     dialog -x easy_ns_ident easy_ns_ident
   }
 }
}

Comments

Sign in to comment.
Goldy58   -  Feb 01, 2008

I only made this just to store your name and password, and yeah, just like HoN asked, about different servers with different name and password!?!?

 Respond  
pokemaster23   -  Jan 31, 2008

Because EL, I do believe I know you..If I am correct we used to argue/flood each other non stop in PMs then we became friends..

 Respond  
HoNdAx707   -  Jan 31, 2008

but what if you connect to 2 diffrent servers and diff passwords? ;p
i join like 4 when i get on

 Respond  
napa182   -  Jan 31, 2008

wow thats alot just to identify...you can just do an ez one

on *:connect:{ .msg NickServ IDENTIFY urpasshere }

eh but what ever....

 Respond  
napa182   -  Jan 31, 2008

EL you can always test over at irc.ezzychat.com ;)

 Respond  
EL   -  Jan 31, 2008

lol yeah i noticed that on there.I ll have to test it there i guess.>P

 Respond  
HoNdAx707   -  Jan 31, 2008

@EL at mt0wn we use chanserv nickserv operserv (if ircop) ;p

 Respond  
EL   -  Jan 31, 2008

@ pokemaster23 yeah it was /server -m IRC.LUCIDCHAT.NET -j #scriptlearning went there the other day to look for jub369 why?

 Respond  
pokemaster23   -  Jan 30, 2008

Just looks sloppy to me and are you the EL that went to irc.axpi2.net...or was it irc.lucidchat.net?

 Respond  
EL   -  Jan 30, 2008

Well nice dialog not sure i like pixels i prefer dbu but its set up nice good alignments an clean.As ya all know im not to familiar with the serv\'s(nick,chan,memo,etc) but its useful 7/10.@ pokemaster Sloppy?..

 Respond  
pokemaster23   -  Jan 30, 2008

Pretty nice but kinda sloppy scripting ;x

 Respond  
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.