Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear()
- term.setCursorPos(1, 1)
- print("Type in the number of your desired destination then press enter") -- Start up message
- print("[1] - Destination 1") -- Change "Destination 1" to the name of your first destination
- print("[2] - Destination 2") -- Change "Destination 2" to the name of your second destination
- print("[3] - Destination 3") -- Change "Destination 3" to the name of your third destination
- input = read()
- if input == "1" then
- redstone.setBundledOutput("back", colors.black) -- Change "black" to the color of the wire you use for your first portal spawner
- term.clear()
- term.setCursorPos(1, 1)
- print("Portal to Destination 1 is open") -- Change "Destination 1" to the name of your first destination
- sleep(5)
- term.clear()
- term.setCursorPos(1, 1)
- print("Portal to Destination 1 has closed") -- Change "Destination 1" to the name of your first destination
- sleep(2)
- redstone.setBundledOutput("back", 0)
- end
- if input == "2" then
- redstone.setBundledOutput("back", colors.blue) -- Change "blue" to the color of the wire you use for your second portal spawner
- term.clear()
- term.setCursorPos(1, 1)
- print("Portal to Destination 2 is open")
- sleep(5)
- term.clear()
- term.setCursorPos(1, 1)
- print("Portal to Destination 2 has closed")
- sleep(2)
- redstone.setBundledOutput("back", 0)
- end
- if input == "3" then
- redstone.setBundledOutput("back", colors.red) -- Change "red" to the color of the wire you use for your third portal spawner
- term.clear()
- term.setCursorPos(1, 1)
- print("Portal to Destination 3 is open")
- sleep(5)
- term.clear()
- term.setCursorPos(1, 1)
- print("Portal to Destination 3 has closed")
- sleep(2)
- redstone.setBundledOutput("back", 0)
- end
- end
- -- Made by Sprinricco 2013
Advertisement
Add Comment
Please, Sign In to add comment