Hey I tried it today and it works for now at least. One thing I noticed is that when you set the bot to bury bones, it does it immediately then sets up the trap. While it may be minimal xp loss, I think its best to have the trap set up ASAP, then bury bones. Plus it seems less bottish to me too.
Is it possible to make the script set up the trap first then bury bones?