Indeed, there are functions in the AI code that you can add that will shut down the AI after a set amount of inactivity by the creator/alchemist.
It requires adding it into the AI code, however.
There is an old section of code for it located here:
http://www.pandoraonline.net/forum/showt...p?tid=8196
but I have yet to test just how decent it is.
If you know what you are doing, you can always code it in yourself using other functions like os.exit().
If you do decide to use it, we ask that the idle timer is less than 5 minutes.
Also be aware that this edit is one of the few added mods allowed on an AI, as it does not give someone an advantage.