Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("left")
- monr1 = mon.clear
- monr2 = mon.setTextColor
- monr3 = mon.setTextScale
- moncp = mon.setCursorPos
- while true do
- os.pullEvent("redstone")
- if redstone.getInput("back",true)
- then
- monr1()
- monr2(1)
- monr3(1)
- moncp(1,1)
- mon.write("Starting up...")
- sleep(2)
- moncp(1,2)
- mon.write("loading system")
- sleep(2)
- moncp(1,3)
- mon.write("loading programs")
- sleep(2)
- moncp(1,4)
- mon.write("loading your picture")
- sleep(2)
- monr1()
- mon.setTextColor(16384)
- moncp(3,1)
- mon.setTextScale(3)
- mon.write("ERROR")
- sleep(1)
- mon.setTextScale(2)
- mon.setCursorPos(2,4)
- mon.setTextColor(1)
- mon.write("FILE TOO BIG")
- end
- if rs.getInput("back", false) then
- mon.write(".")
- sleep(0.5)
- mon.clear()
- repeat until rs.getInput("back", true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment