The smiley thing, I'm not sure what you're talking about. PM me with more details?
The other thing:
code:
//Credits to Original Author(s)
//Adapted to AutoTalker by Silentdragon
//Modified to preserve first and last letters
function wordscramble(word) {
var newword="";
var oldword=word;
var i=0;
while (oldword.length > 0) {
i=Math.round(Math.random()*(oldword.length-1))+1;
newword=newword+oldword.charAt(i-1);
oldword=oldword.substr(0,i-1) + oldword.substr;
}
return newword;
}
function Main(input) {
var words=input.split(" ");
var i=0;
var output="";
while (i<words.length) {
if(words[i].length < 4){ i++; continue; }
output=output+words[i].substr(0,1)+wordscramble(words[i].substr(1,words[i].length-2))+words[i].substr(words[i].length-1)+" ";
i++;
}
return output.substr(0,output.length-1);
}
Dunno if it works, just modified the scramble code.