Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modemSide = "top"
- if rednet.isOpen(modemSide) == false then
- rednet.open(modemSide)
- end
- rednet.host("TREEFARM", "toxicgiraffe.local")
- while true do
- term.write("TREEFARM > ")
- local msg = read()
- if msg == "quit" then
- rednet.broadcast(msg, "TREEFARM")
- break
- else
- rednet.broadcast(msg, "TREEFARM")
- end
- end
- rednet.close(modemSide)
Add Comment
Please, Sign In to add comment