Just a short snippet again, appollogies for the colour in it if you are using a white BG (Switch to black, its better >.>)
What this does is uses the calculation from howsecureismypassword.net and tells you how long (in generall) it would take someone to brute force your password. This is just the rough estimate if the brute forcer was using a desktop pc. At the moment it it only uses 15 of the symbols as in all honesty there would be WAY too many to calculate. One last thing is it DOES NOT send the text to the room so you shoud be safe putting in your current password, if you dont trust it use it in the status window :p
Also again thanks to howsecureismypassword.net for there formula/calculation.
on *:INPUT:*:{
if (.pass == $1) {
if ($2) {
var %poss
if ($regex($2,/[a-z]/)) %poss = %poss + 26
if ($regex($2,/[A-Z]/)) %poss = %poss + 26
if ($regex($2,/[0-9]/)) %poss = %poss + 10
var %chars /[!,@,#,$,%,^,&,*,?,_,~,-,(,),£,>,<]/
if ($regex($2,%chars)) %poss = %poss + 15
echo -tlbm 03>>15,Password Cracker03>>09 It would take3 $duration($calc((%poss ^ $len($2)) / 10000000)) 09to crack your password of3 $2 $+ 9.
halt
}
}
}