Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("right")
- while true do
- os.pullEvent("Redstone")
- if redstone.getInput("left",true)
- then
- redstone.setOutput("top",true)
- mon.setcursorpos(1,1)
- mon.write("test test")
- sleep(5)
- rs.setOutput("top",false)
- else
- redstone.setOutput("top",false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment