Mightier Than the Sword


#1

Hey guys, I decided to go back, after I reached Sarven Dessert and complete more of the Kithgard Dungeon levels. I am stuck on something that is really confusing. On the hints section, it says that you can basically I think name the phrase, then do:

hero.say(password)

Which is supposed to contain the variable in it. That worked on the second to last password, but on the last one it failed. I am not sure why. Please anyone if my theory was wrong. Here is my code:

password = 'Secret Message'
hero.moveUp()
hero.moveRight()
hero.say(password)

password = 'So Many Doors'
hero.moveRight()

phrase = 'To Many Doors'
hero.say(password)

phrase = 'Last Door'
hero.moveRight()
hero.say(password)

#2

and

Maybe that’s why? Variable phrase does not match up with variable password?


#3

Well what it said was that if you put in:

phrase = 'Last Door"

Then the variable would match up with:

hero.say(password)

#4

So then it would be

hero.say(phrase)

?
I’ve never played this level before since I don’t have a subscription, so I’m not too sure.


#5

Ok thanks I’ll try that!