Advertisement
Guest User

console

a guest
Jul 16th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. term.setTextColor(8192)
  4. rednet.open("back")
  5. while true do
  6.   local input = read()
  7.   if input == "clear" then
  8.     term.clear()
  9.     term.setCursorPos(1,1)
  10.   else
  11.     rednet.broadcast(input)
  12.   end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement