Guest User

startup

a guest
Jul 30th, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. while true do
  2.  
  3.   m = peripheral.wrap("top")
  4.  
  5.   if rs.getInput("left",true) == true then
  6.  
  7.     shell.run("cd disk")
  8.     shell.run("monitor top alongtimeago")
  9.    
  10.     m.clear()
  11.     m.setCursorPos(1,1)
  12.    
  13.   else
  14.   sleep(1)
  15.   end
  16. end
Add Comment
Please, Sign In to add comment