Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- reactors = {rednet.lookup("reactor")}
- local monitor = peripheral.find("monitor")
- while true do
- monitor.setCursorPos(1,1)
- monitor.clearLine()
- monitor.write("Reactors: ")
- for i = 1,#reactors do
- monitor.setCursorPos(1,i+1)
- monitor.clearLine()
- monitor.write(reactors[i])
- end
- sleep(0.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement