Advertisement
Spirit13300

Untitled

May 19th, 2017
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. rednet.open("back")
  2.  
  3. while true do
  4. event ,key = os.pullEvent("key")
  5.  
  6. if key =="44" then
  7.     rednet.broadcast("1")
  8. end
  9. if key =="31" then
  10.     rednet.broadcast("0")
  11. end
  12. if key =="16" then
  13.     rednet.broadcast("2")
  14. end
  15. if key =="32" then
  16.     rednet.broadcast("3")
  17. end
  18. if key =="17" then
  19.     rednet.broadcast("10")
  20. end
  21. if key =="46" then
  22.     rednet.broadcast("11")
  23. end
  24. if key =="48" then
  25.     rednet.broadcast("12")
  26. end
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement