Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- monitor = peripheral.wrap("left")
- modem = peripheral.wrap("right")
- text = monitor.write
- line = monitor.setCursorPos
- for i = 0,100,1
- do
- modem.open(i)
- end
- event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
- ------------------------------------------
- line(1,1)
- text("Progress")
- line(23,1)
- text("Fuel")
- line(40,1)
- text("Quarry name")
- line(0,2)
- text("====================================================")
- -------------------------------------------!
- if senderChannel<2
- then turtleid = 3
- else turtleid = senderChannel+2
- end
- line(1,turtleid)
- text(message)
- end
Add Comment
Please, Sign In to add comment