1. Make sure that you have full map to remove such issues
2. The script has force refill and should do 1 clear of whats around it and then go refill, and repeat this process in case it gets trapped on the way out. You might want to set it higher than 100 potions.
3. It should only attack monster before the target floor if it gets trapped. Do you have "load character settings" marked by any chance?
I've returned your coins, no one else has issues with the script in question nor did I when i used it on my EKs