Or you could create your own script(of whatever language you want) and have it edit your save file during battle however you want. Don't trust me on this, but I am under the impression that auto-battle is absolutely out of the scope of OXCE, no questions asked.