Start near a bank with bones in the bank.
When you no longer have bones in your inventory or bank, the bot will automatically log you out and stop.
This is untested while not near a bank object. If someone has the time to test it without a bank near-by and let me know if it gets stuck when the inventory has no bones in it, I would greatly appreciate it.
This will cover any type item that has "bones" in the name and "bury" as an action.