Advertisement
TIMAS_Bro

Untitled

Jun 17th, 2023
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. rednet.open("left")
  2. while true do
  3. local senderId, message, protocol = rednet.receive()
  4. if protocol ~= "server.jnet" then
  5. print("Not SJNET request from "..senderID.." with contents of '"..message"'.")
  6. return
  7. end
  8. if senderId == 4 then
  9. rednet.send(4, "printer`texxt", "server.jnet")
  10. print("Sending data to user "..message.." to server id "..senderId..". ")
  11. end
  12. end
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement