Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- while true do
- local senderId, message, protocol = rednet.receive()
- if protocol ~= "server.jnet" then
- print("Not SJNET request from "..senderID.." with contents of '"..message"'.")
- return
- end
- if senderId == 4 then
- rednet.send(4, "printer`texxt", "server.jnet")
- print("Sending data to user "..message.." to server id "..senderId..". ")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement