You are currently viewing the gmlscripts.pro static mirror. Forum access and script submissions are not available through this mirror.

Invert gmlscripts.pro

speakable_password

speakable_password(length)
Returns a random, speakable passowrd of the given length.
COPY/// speakable_password(length)
//
//  Returns a random, speakable passowrd of the given length.
//
//      length      length of the generated password, real
//
/// gmlscripts.pro/license
{
    var result,i;
    result = "";
    for (i=0; i<argument0; i+=1) {
        if (i mod 2) result += string_char_at("aeiou",ceil(random(5)));
        else result += string_char_at("bcdfghjklmnprstwyz",ceil(random(18)));
    }
    return result;
}

Contributors: Keth, xot

GitHub: View · Commits · Blame · Raw