Final Ascent / if...else won't respond

I’m having trouble with my puzzle, it seems I’m in a loop. I’m using a “for…else” testing: " if element === " rope " , the question is why do I get : "no rope " every time I run the puzzle?. Note; I checked other Back pack.equiptment
so I it’s there.

if element===rope
print ‘I found some rope’
else
print’ A map is not useful right now’
print ’ A compass is not useful right now’

Hope if this works