Guest User

monitor

a guest
May 7th, 2015
469
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. local function invoke(sMethod, ...)
  4.   shell.run(sMethod,...)
  5.   rednet.broadcast(sMethod, ...)
  6. end
  7.  
  8. term.write = function(text) invoke(text) end
  9. term.scroll = function(n) invoke("scroll", n) end
  10. term.setCursorBlink = function(blink) invoke("setCursorBlink", blink) end
  11. term.setCursorPos = function(x, y) invoke("setCursorPos", x, y) end
  12. term.clear = function() invoke("clear") end
  13. term.clearLine = function() invoke("clearline") end
  14.  
  15. term.clear()
  16. Term.setCursorPos(1, 1)
  17. shell.run("startup")
Advertisement
Add Comment
Please, Sign In to add comment