gknova61

Bundled Cable Control

Jan 2nd, 2013
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. --For the Flan's runway
  2. rednet.open("left")
  3. term.clear()
  4. term.setCursorPos(1,1)
  5. print("Bundled Receiver")
  6. while true do
  7.     event = {os.pullEvent()}
  8.     if event[1] == "rednet_message" then
  9.         if message:sub(1,4) == "setb" then
  10.             rs.setBundledOutput("right",tonumber(message:sub(6)))
  11.         end
  12.     end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment