Advertisement
Kurotsuki8930

client

Jul 10th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. rednet.open("left")
  2. rednet.broadcast("connexion en cours...")
  3. id,message = rednet.receive(5)
  4. if id == 28 and message == "Connexion effectuee!!!" then
  5. write("Ouverture du sas...")
  6. redstone.setOutput("left", true)
  7. sleep(2)
  8. redstone.setOutput("left", false)
  9. end
  10. print("rebooting programs...")
  11. rednet.close("left")
  12. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement