Guest User

startup

a guest
Jan 8th, 2015
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. mon = peripheral.wrap("right")
  2. while true do
  3. os.pullEvent("Redstone")
  4. if redstone.getInput("left",true)
  5.   then
  6.     redstone.setOutput("top",true)
  7.     mon.setcursorpos(1,1)
  8.     mon.write("test test")
  9.     sleep(5)
  10.     rs.setOutput("top",false)
  11.   else
  12.     redstone.setOutput("top",false)
  13.   end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment