Advertisement
Guest User

pcCor1

a guest
Oct 25th, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. rednet.open("top")
  2. print("Internet Ligada.")
  3.  
  4. sleep(1)
  5.  
  6. while true do
  7. if rs.getInput("back") == true then
  8.   print("Chave Geral Ligada.")
  9.   rednet.send(1,"05501")  
  10. else
  11.   print("Chave Geral Desligada.")
  12.   rednet.send(1,"05500")
  13. end
  14.  
  15. sleep(4)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement