Damn... Why are people always quicker than me?
Anyway, if you would still be interested:
code:
//Note: place this in a new .js file in C:\Program Files\Messenger Plus! Live\Scripts\AutoTalker\Talkers
function Main(Arg) {
var tmp = Arg.split(" ");
for(i in tmp) {
if(tmp[i].length >= 4) {
tmp[i] = (tmp[i].charAt(0)) + wordscramble(tmp[i].substring(1, tmp[i].length-1)) + (tmp[i].charAt(tmp[i].length-1));
}
}
return tmp.join(" ");
}
//Original function from the scramble talker
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(i);
}
return newword;
}