Jethro commented on a Page, Auto Identifiers  -  Dec 16, 2011

I'm sure you can shorten these parts quite a bit:

on *:dialog:Auto-Identifier:sclick:11:{
  var %i = 1
  while (%i <= 10) {
    if ($did( $+ %i $+ ).edited) {
      hadd -m settings $replace($replace(%i,1,nick1,2,password1,$&
        3,nick2,4,password2,5,nick3,6,password3,7,nick4,8,$&
        password4,9,nick5),nick10,password5) $did( $+ %i $+ )
      inc %i
    }
  }
  if ($did(15).state == 0) {
    hdel -w settings nick*
    hdel -w settings password*
  }
}
on *:dialog:Auto-Identifier:init:0:{
  did -c $dname
  var %i = 1
  while (%i <= 10) {
    did -a $dname %i $hget(settings,$replace($replace(%i,1,$&
      nick1,2,password1,3,nick2,4,password2,5,nick3,6,password3,7,$&
      nick4,8,password4,9,nick5),nick10,password5))
    inc %i
  }
  if ($hget(Settings,Auto-Identify)) {
    did -m $dname 1,2,3,4,5,6,7,8,9,10
  }
}
 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.