Stary2001

Untitled

Jan 4th, 2013
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. protocols.rdnt = {}
  2.  
  3. function protocols.rdnt.get(location)
  4. local server = string.gmatch(location,"(.-)/.+")()
  5. rednet.broadcast(server)
  6. local _,content = rednet.receive()
  7. print(content)
  8. return content
  9. end
  10.  
  11. function protocols.rdnt.ping(location)
  12.  
  13. end
Advertisement
Add Comment
Please, Sign In to add comment