Lua script and database system for EQEmu