I had never heard of "lua" before, so i looked it up: seems it is virtually identical to what can be called "BASIC".
Anyway: i still have to finish it, but there's a scripting language i made for Outpost2. I don't know if it's still hosted somewhere else, since i don't host it myself at the moment, due to the server shutdown 2 weeks ago, but i'll look it up again when i get back home and see if i can update it a bit.
search for the terms: Outpost Scripter
you'll find some threads in the coding section