Page 1 of 1

Mushclient environment

Posted: Wed Jun 09, 2010 1:44 am
by naftali
Me and Vadi did some work on duplicating Mushclient functions in Mudlet. Follow the link below to get to the results. The way it works is you copy the stuff on the whiteboard (from the beginning of the table until the function on the last line) into a script. Everything below that function (setfenv) will be as if it was a mush script.

https://blueprints.launchpad.net/mudlet ... lient-port

Two cautionary notes - first, not all Mush functions are there. Second, native mudlet functions won't work within the environment. I added the string.whatever, table.whatever, pairs, and ipairs functions, but nothing else will work that isn't one of the functions I've specifically emulated. If you have ideas on what should be added next, lemme know!