Sooo, i wrote i shitty function, for javascript, which generates random words.

Code:
function randword(length, appearance, capitalized){
if(length == "" || length == 0){
	document.write("FUNCTION ERROR; randword() expects a value for length which cannot be blank or 0");
}
if(appearance == 0 || appearance == 0){
	document.write("FUNCTION ERROR; randword() expects a value for appearance which cannot be blank or 0")
	exit();
}
appearance = ++appearance;
length = --length;
word="";
for(i=0;i<=length;i++){
		choose = Math.floor(Math.random()* appearance + 1);
		if(choose > 4){
			document.write("FUNCTION ERROR; "+ appearance +" is not a supported value! EXPECTING 1, 2, or 3")
			exit();
		}else{
			if(choose == 1){
				voks = new Array();
				voks[0]= "a";
				voks[1]= "e";
				voks[2]= "i";
				voks[3]= "o";
				voks[4]= "u";
				num = Math.floor(Math.random()* 4 + 1);
				if(voks[num]){
					newchar = voks[num];
				}
			}else{
				r = new Array();
				r[0]="b";
				r[1]="c";
				r[2]="d";
				r[3]="f";
				r[4]="g";
				r[5]="h";
				r[6]="j";
				r[7]="k";
				r[8]="l";
				r[9]="m";
				r[10]="n";
				r[11]="o";
				r[12]="p";
				r[13]="q";
				r[14]="r";
				r[15]="s";
				r[16]="t";
				r[17]="u";
				r[18]="v";
				r[19]="w";
				r[20]="x";
				r[21]="y";
				r[22]="z";
				num = Math.floor(Math.random()* 21 + 1);
				if(r[num]){
					newchar = r[num];
				}
			}
		}
		if(capitalized==1){
			newchar = newchar.toUpperCase();
			word = word + newchar;
			capitalized = 0;
		}else{
		word = word + newchar;
		}
	}
	return word;
}
randword(6,3,1);
first number is the length, second, how much vocals should be in this word, 1=most 3=almost none, last number is 1 or 0. 1 for capitalize the first letter.

So yeah.