Guest User

Untitled

a guest
Jan 20th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. rednet.open("back")
  2. print("computer booted")
  3. local function rmButtons()
  4. while true do
  5. local event,from,message,distance = os.pullEvent()
  6. if event == "key" or event == "char" then
  7. rednet.broadcast(tostring(from))
  8. end
  9. end
  10. end
  11. local function OverShell()
  12. while true do
  13. read()
  14. end
  15. end
  16. parallel.waitForAny(rmButtons,OverShell)
Add Comment
Please, Sign In to add comment