megadeth9001

Testing

Nov 17th, 2015
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. textutils.slowPrint("In an undisclosed area of the wild, heavily guarded by military installations, there is said to be an entrance to a mythical land.... You, managing to slip by all of this... loosing most of your supplies in the process have managed to reach the entrance of this land and before you stands a gaping void, standing vertically... like a portal.... Your curiosity begs you to enter this new land... What will you do?", 300)
  2.  
  3. Function Introduction()
  4. Print(" Do you enter? Yes or No:")
  5. local input = read "*"
  6. If input1 == Yes then
  7. print("Time for a new phase of your life to begin!")
  8. end
  9. If input1 == No then
  10. prints("The gaurds take you away to jail..")
  11. textutils.slowPrint("GAME OVER...", 120)
  12. term.clear
  13. BREAK
  14. end
  15.  
  16. if input1 =~ "Yes" or "No" then -------------Need to look up how to do this--------------
  17. print("Not a valid option please type "Yes or No"")
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment