Advertisement
Guest User

SErver

a guest
Jul 26th, 2014
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. --Made by Esbenmine
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. Start = true
  5. rednet.open("top")
  6. if not fs.exists("Website") then
  7.   local website = fs.open("Website", "w")
  8.   website.close()
  9. end  
  10. local website = fs.open("Website", "r")
  11. local Website = website.readAll()
  12. website.close()
  13. repeat
  14.   id, CID = rednet.receive()
  15.   if id == 1624 then
  16.     print("ID: ",CID, " Connected to the website")
  17.     rednet.send(CID, Website)
  18.   end
  19. until Start == false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement