An lua scripting engine for Warcraft3