Err's Nick Auto Identifier

By err2 on Aug 20, 2006

Liak, long time since I posted a snippet. Lawl. Anyway, Liak, simple Auto nick identifer I made... Has a Menubar feature to add nicks, delete nicks, and look at nicks that are used for auto identifying. Liak, I added a feature so it auto identifies when you change yer nick. Hope you enjoy it :X

Alias AddnickAI {
  var %a $$?"Nickname"
  var %b $$?"Password"
  if ($read(NickIdentify.txt, s, %a)) { echo This Nick is already Saved }
  Else {
    write NickIdentify.txt %a %b
    Echo Nickname and Password saved
  }
}

Alias DelnickAI {
  var %a $$?"Nickname"
  if (!$read(NickIdentify.txt, s, %a)) { echo This Nick does not Exist }
  Else {
    write -ds $+ %a NickIdentify.txt
    Echo Nickname and Password erased
  }
}

On *:Connect: {
  If ($read(NickIdentify.txt, s, $me)) {
    var %ghom $read(NickIdentify.txt, s, $me)
    ns identify %ghom
  }
}

alias Savednicks {
  echo Saved Nicks for Auto Identify:
  var %x 1
  while %x <= $lines(NickIdentify.txt) {    
    echo -a $read(NickIdentify.txt,%x)
    inc %x
  }
}

ON *:NICK: { 
  If ($nick == $me && $read(NickIdentify.txt, s, $newnick)) { ns identify $read(NickIdentify.txt, s, $newnick) }
  else { halt }
}

menu channel,menubar {
  -
  Auto Identify
  .Add:/AddnickAI
  .Del:/DelnickAI
  .Saved Nicks:/savednicks
  -
}

Comments

Sign in to comment.
Noutrious   -  Aug 21, 2006

Well, my score ir 4, cause there is many addons like this, but not much with Dialog and Multi server support, i know many people who are searching for this kind of auto identifier..

 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.