Advertisement
Guest User

startup.lua

a guest
Mar 26th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 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.setCursonPos(1,1)
  12.        
  13.     else
  14.     sleep(1)
  15.     end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement