You are missing one key element of the while loop - it executes each task inside of it to completion before checking the conditional. So if you look...
Sorry, I meant, run 1 turn, check for a plus sign in inventory, run another turn, check for plus sign, etc. I posted the script that I've written so...