Auto Identify To Nickserv

By SnoooP on Oct 26, 2009

THIS SCRIPT DEPENDS ON YOU USING THE SAME NICK & PASSWORD ON EACH SERVER..
ALSO IT REQUIRES A SERVER THAT USES NICKSERV IN THE FIRST PLACE TO WORK

Once loaded this script will ask for 3 things: Default Nickname, Email Address, Password,


Once you enter the infomation it ask's for you can right click anywere in mirc and scroll down to the 'Nickname' tab.. Here you can:-

  • Register your default nickname with the provided email & password,
  • Group your current nickname to your default nickname,
  • Use the Ghost command to access to your default nickname (it will auto change to default nick)

Also you can view your current email, nickname & password settings and change them by clicking the appropriate tag.

You can also activate/deactivate the "Auto ID", If activated it will automatically identify you to nickserv when ever you connect to a server.


When you connect to a server and nickserv states "Your nick isn't registered" the snippet will do two things,
1) check if you are using your default nick, If so it will return a message stating your nick isn't registered.
2) check if your are not using your default nick, In this case the snippet will request infomation about your default nickname..
2a) If it gets the result that your default nickname is registered it will return message you and tell you
2b) If your current nick and default nick are not registered, it will return a messgae stating that both nicks are not registered


** ONCE you have chosen your default nick, It will change your nickname to that everytime you open mirc.

on *:load:{
  set %email $$?="enter your email address"
  set %nspass $$?="enter your nickserv password"
  set %dnick $$?="enter your default nick"
  echo -a 6-=- Your Default Password Is: %nspass 6-=-
  echo -a 6-=- Your Default Email Is: %email 6-=-
  echo -a 6-=- Your default Nick is %dnick 6-=-
  nick %dnick
}

on *:start: {
  nick %dnick
}

Menu * {
  Nickname
  .Register Nick
  ..Register: /msg nickserv register %nspass %email
  ..Group Nick: /msg nickserv group %dnick %nspass
  ..Check Info: echo -a 6-=- Your Default Password Is: %nspass 6-=- | echo -a 6-=- Your Default Email Is: %email 6-=- |  echo -a 6-=- Your default Nick is %dnick 6-=-
  ..Change Info
  ...Change Pass: set %nspass $$?="enter your nickserv password" |  echo -a 6-=- Your Default Password Is: %nspass 6-=-
  ...Change Email: set %email $$?="enter your email address" | echo -a 6-=- Your Default Email Is: %email 6-=- 
  ...Change Default Nick: set %dnick $$?="enter your default nick" | echo -a 6-=- Your default Nick is %dnick 6-=-
  .Ghost Nick: /msg nickserv ghost %dnick %nspass | .timer 1 3 nick %dnick
  .Auto Identify
  ..On: enable #autoid
  ..Off: disable #autoid
}

on *:NOTICE:*Your nick* isn't registered*:*:{ 
  if ($me == %dnick) { 
    .timer 1 3 echo -a 6-=- Your Nickname Is Not Registered On This Server: $server 6-=-
  }
  if ($me != %dnick) {
    msg nickserv info %dnick all 
    if (Time registered isin $1-) { .timer 1 3 echo -a 6-=- Your Default Nickname %dnick Is Registered On This Server: $server 6-=- }
    if (isn't registered isin $1-) { .timer 1 3 echo -a 6-=- Your Defalut Nick %dnick And Current Nick $me Are Not Registered 6-=- }
  }
}

#autoid on
on *:connect:{
  /msg nickserv identify %nspass
}
#autoid end

Comments

Sign in to comment.
JDavis   -  Nov 29, 2009

Works perfect.. Thank You..

 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.