Usual Day Error Message? Please Help


#1

Hi, when I try to run the script, it comes up with the error message saying that the item is not identified. I believe this is the right code to make it work, since I have viewed other posts about this level, but when I write in the same code it doesn’t let me submit.


#2

gotta say item = hero.findNearestItem() , not just hero.findNearestItem()


#3

@SuperSmacker is correct. The error message is telling you exactly what’s wrong. You have not properly defined item as a variable.


#4

Thanks, guess I didn’t notice it.


#5

Thanks that was helpful.