Advertisement
LBPHacker

Elevator caller for tysciman7

Jun 8th, 2013
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. -- * modem side here
  2. rednet.open("top")
  3.  
  4. while true do
  5.     os.pullEvent("redstone")
  6.     -- 39 might not be accurate - it's the ID of the elevator's computer
  7.     if rs.getInput("right") then rednet.send(39, "elevator_call") end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement