It'd be possible to code an app that does SOME of this as code, but it'd have to use a base script and it would only REALLY be able to do basic functions, and it's alot of work. I might looking into it after I've learnt some more C++ (admittedly C++ .NET but still!), but chances are it will be a VERY limited set of commands. like sethealth, wep, armour etc. there wont be many dynamic commands, so it would only really be sufficient for a basic DM server.
Regards Orpheus