Lua scripting engine for R&Q messenger