Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat
- print "How far would you like me to travel?"
- l = read()
- print "How wide would you like the tunnel?"
- w = read()
- print "How tall would you like the tunnel?"
- h = read()
- -- Confirming input
- print ("Im going forward " ..l " blocks!")
- print ("Im going to make the tunnel " ..w " blocks wide!")
- print ("Im going to make the tunnel " ..h " blocks tall!")
- print "Confirm? (Y/N)"
- answer = read()
- if answer == "Y" or "y" then
- print "Confirmed! Starting Tunnel!"
- else
- print "Please renter values..."
- end
- until answer == "Y" or "y"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement