daily pastebin goal
80%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top