I actually attempted to make a RPG engine like this, Counter-Strike form. I got bored of it, I posted the remains of it on the mIRC Scripting forums.