I have a feeling most people who would use advanced Lua controled AI would be people who would simply be downloading the commands, not people who would be encoding it themselves. Seeing as AI have a limited agression range, which is less than a quarter of a sector\'s size, and the limits of the Lua system the concept of attack patterns and inteligent AI, heck even a docking program is very unrealistic even for experienced coders as there is simply not the same kind of relational positioning data for it.
A realistic application could be used of an Advanced GUI for AI with sector locational inputs for movement to sectors or beacons within a sector and docking.
BTW, this is already a topic.. Post there: http://star-made.org/content/programmable-ai-coding