Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Core loaded. PING - SERVER NUN ONLINE!")
- --server
- local standort = "Dubai [DUB]"
- rednet.open("back")
- while(true) do
- e, a, b, c = os.pullEvent("rednet_message")
- if(b == "heartbeat_protocol_req") then
- print("Computer #",a," is ",c," blocks away!")
- rednet.send(a, textutils.serialize({"heartbeat_protocol_rep", standort}))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement