I've used this myself once or twice, very very impressive. April has a friend who knows a lot more about it than I.
A friend of mine (rkarman)
built the original version of a really cool scriptable chat server called ARCA Eclipse
, to host chatrooms on the Ares P2P network. (This was before Ares went open source) He used Spidermonkey in it.
Chatroom admins can have a lot of fun with it too. With a scriptable server, there is no need to have room bots for playing games and other features. Plus you can create a function, toss it in the room, and use it immediately.
Back in the early days, I coded a complete slot machine game as a single function of under 200 chars and tossed it into the room. About 5 minutes later, someone else in the room coded a cheat function for it.
Today the server is developed and maintained by another party, as rkarman decided he no longer wanted to do it himself.
Before passing the project on, he gave a small group of trusted admins from his chatroom a copy of the original source, with express wishes that it be used for learning, and never for the purposes of creating malware. I am one of the caretakers of the original code, in case anyone would like to see the source to learn from.
I can't post it publicly, as I am only allowed to give it out to people I consider trustworthy.(btw, he didn't know C/C++ before starting this project, and basically learned it in a day, so the code might be messy. He stated that if it had been his choice, it would have been written in either C# or VB.net. And if you want to know why it wasn't, you have to ask hollowlife1987)
Is this not a little redundant when you consider XULRunner