So what is it exactly you want it to do?
List it like this,
1.
2.
3.
etc.
If I were to try to do this it wont be in ahk but in .net probably, of course full source code will be available.
Well you can write a script that pauses the bot when entering a new location that is not the town and make it press X to switch weapon then click EB and change the settings and after its done make PoE window active and press continue.
Well if someone can clear any area and monsters with the same speed, theoretically say you do 100k dps and 1 shot every monster, which place would be best then?