D2bot Shrine hunt

So right now, I have my shrine hunter get Battle orders in River of flame, and sometimes there is an XP shrine there, is there a way to make him just stop the script if there is a shrine at WP river of flame?