Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require("./randomColor")
- print("Welcome to my lovely little island")
- print("I hope you enjoy your stay")
- print("Maintain a safe distance from the edge of the island")
- print("You wouldn't want to fall off!")
- print("Thank you for visiting!")
- print("-- ComputerComa")
- print("Would you like to know the color of the day?")
- print("Type 'yes' or 'no'")
- local answer = io.read()
- if answer == "yes" then
- term.setTextColor(RandomColor())
- print("The color of the day is " .. RandomColor())
- else
- print("That's okay. Have a great day!")
- end
- term.setTextColor(RandomColor())
- --end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement