After Running this script with the fix, the only complaint I have is when this message appears:
That it gets stuck in a loop. I get that the message says I need to adventure manually, or up my stats, but it would be good if the script terminated instead of looped indefinitely.