Typo commented on a Page, Mkpass v 0.2  -  Jan 08, 2011

Dont know what made me comment when I haven't in so long but anyhow....

Here is the makepass alias I came up with some time ago on a whim.

It defaults to a random pass between 12 and 18 characters but you can select the ammount of characters like '$makepass(10)' or '/makepass 10'.

It randomizes using numbers and upper and lower case letters.

It's also set to output differently depending on how it is used. If you use it like $makepass() it will simply return it, and if u use it like /makepass it will echo it.

alias makepass {
  var %go $iif($1 isnum,$v1,$r(12,18))
  while (%go) {
    var %pass %pass $+ $iif($r(1,3) == 1,$r(a,z),$iif($v1 == 2,$r(A,Z),$iif($v1 == 3,$r(0,9))))
    dec %go
  }
  $iif($isid,return,echo -a) %pass
}
 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.