Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mon
- local timer = 600
- local function findMonitor()
- for i,v in pairs(rs.getSides()) do
- if peripheral.getType(v) == "monitor" then
- mon = peripheral.wrap(v)
- return
- end
- end
- error("No monitor found!")
- end
- findMonitor()
- for i = timer, 0, -1 do
- mon.write("Waiting", timer, "seconds!")
- end
Advertisement
Add Comment
Please, Sign In to add comment