Yes, I was hoping a good coder like you would respond. So once it has a bronze pickaxe or better and the script is started in Lumbridge castle, it will automatically change mining locations until it has reached the last one, being the barbarian village.
I would even use it if it was premium.