If someone has problems on how to implement features from the dll to a lua script, just drop a line here and i'll try to help.
I'm currently working on an AI for selecting enemies, pathing, fighting and looting but I'm really short on time so don't expect result very soon.
Even with the power the dll gave to LUA, LUA is just a script engine not designed to write such complex stuff. But I'll do my best.