Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left", true)
- glass = peripheral.wrap("top")
- --function timeDis()
- -- time = textutils.formatTime(os.time, false)
- -- glass.addText(5,2,"Time : " .. time, 0xFF0000)
- --end
- local b = "Engine : N/A"
- while not os.pullEvent() do
- local timeout = os.startTimer(0.1)
- event = {os.pullEvent()}
- --if event[1] == "rednet_message" then
- --glass.addText(5,11,event[3],0xFF0000)
- --elseif event[1] == "timer" and event[2] == timeout then
- --a = 1
- --end
- glass.clear()
- time = textutils.formatTime(os.time(), false)
- glass.addText(5,2,"Time : " .. time, 0xFF0000)
- --glass.addText(5,11,b,0xff0000)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement