Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- * modem side here
- rednet.open("top")
- while true do
- os.pullEvent("redstone")
- -- 39 might not be accurate - it's the ID of the elevator's computer
- if rs.getInput("right") then rednet.send(39, "elevator_call") end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement