Okay i found where it goes wrong, the script only has dharok tunnel left and teleports to barrows.
Logger gives the warning: Insufficient prayer to start tunnel run and teleports back to clan wars.
It has full prayer and a (in this case 1 dose prayer pot) It goes clan wars portal then bank but does not get a fuller pot that are in the bank.
Teleports back to barrows and loops from here on. If i pause the scripts and get a 4 dose pray potion out the bank and run it again there are no problems.
If the scripter needs a video i got that