I added a loop to one of my definitions - the forest one - that allows the player to enter "wait" see my code for the amended forest definition below. - It is just for fun but shows you can use a while loop!
I have shown where the loop choice is with a code comment. ( in red above)
The result of this is shown below. You can see that the words are printed out 5 times using the loop