First of all congrats on 70! I myself am going for 77 so I can get my blood runecrafting farm going.
I have seen that happen to me a couple times (strong chance my PC lagged) and the bot accidentally teleported twice to duel arena and then stopped. I will add some more safety functions, please also be wary of mirror client reaction timer or machine/internet lag, if it's not setup correctly there is a chance it could misclick - with that being said, what if I add a minigame teleport directly to Castle Wars as a safety function? It should be a free teleport and won't complicate anything either As for randomisation, good idea, will also do more on that side.
Also guys be sure to join my discord, I'll be sharing tips and advice on botting various methods/skills. Here's my journey to 77 rc so far at 67: