Ok, so what ! does is it is the opposite of whatever it returns by default so it is searching for if inventory is not full, but you want the bot to walk back when it is full. Also you should make a boolean that gets activated when it reaches the area and check if the boolean is false in the else...