ClocxHD

Untitled

Sep 23rd, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. while true do
  2.     local mon = peripheral.wrap("monitor_2")
  3.  
  4.     mon.setCursorPos(1, 1)
  5.     mon.setTextScale(2)
  6.  
  7.     if rs.getInput("back") == true then
  8.         mon.clear()
  9.         mon.setBackgroundColor(colors.lightBlue)
  10.         mon.write("Tag. 4Head")
  11.     else
  12.         mon.clear()
  13.         mon.setBackgroundColor(colors.black)
  14.         mon.write("Nacht. D:")
  15.     end
  16.  
  17.     sleep(5)
  18. end
Advertisement
Add Comment
Please, Sign In to add comment