=) If I am in need of a 469 character password, I will be using your snippet. I see you changed your snippet, I was going to suggest doing exactly what you did with %pass %pass and removing the spaces, nice job!
edit: also you can do
var %amount = $iif($1 isnum,$1,9)
edit edit:
And if you want you can even use
while (%amount) { dec %amount }
heh sorry, just bored and like to make things more efficient =)