BananeMan

Untitled

Sep 21st, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. function keyretriver()
  2. idserver = rondanet.lookup("babanque", "server")
  3. local messagea = {action = "keyretrive"}
  4. textutils.serialize(messagea)
  5. rondanet.send(idserver, messagea)
  6. local disable = true
  7. while disable do
  8. local si, mess, distance = rondanet.receive()
  9. if si == idserver then
  10. publickey = mess
  11. return publickey
  12. disable = false
  13. end
  14. end
  15. end
Add Comment
Please, Sign In to add comment