Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modemSide = "right"
- local self = os.getComputerID()
- if rednet.isOpen(modemSide) == false then
- rednet.open(modemSide)
- end
- local server = rednet.lookup("TREEFARM", "toxicgiraffe.local")
- while true do
- if server then
- local sender, message = rednet.receive("TREEFARM")
- if sender == server then
- if message == "quit" then
- break
- else
- local id = shell.openTab(message)
- shell.switchTab(id)
- end
- end
- end
- end
- rednet.close(modemSide)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement