Before everyone tells me all the different ways this has already been achieved, please note that I don't care; I just wanted to learn, and someone I'm in touch with has students who will probably benefit with small code examples.
I've coded a small MUD client that runs in the web browser.
There are no triggers, aliases, or anything else special. Hopefully it'll be useful to someone.
Selling my soul to andertons.co.uk since 2012.