I am considering using Javascript as a scripting language for a MUD. I have a small prototype which implements a random walk (10 steps) through a set of some rooms. I'm not sure whether Javascript (or my approach to classes) is a good candidate in favour of a home-brew scripting language or Python or Perl, two languages which have better tools available. At least Perl has the drawback that there is no security model to restrict the scripting code from doing evil things.
Please note that this was only written and tested on Firefox. I don't use any funky scripting, but if it dosen't work on your browser, don't bother me with fixes.