edit: after running it for 3 hours I found that it gets stuck everywhere in the cave if it is being attacked,for example by bats, dwarfs, knights... it just stand there and eats food and does nothing
If you fix this the script will be fine for pures
It always get stuck around or in the grey area, the black knights attack players below combat level 66, so pures who are often lower combat will have this problem. This is the reason why my other accounts with higher combat (66+) don't have this problem because the knights won't attack them and thereby won't get stuck.