Advertisement
Guest User

startup

a guest
May 25th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.62 KB | None | 0 0
  1. side = "back"
  2. text = "Anglo-Canadian"
  3. text2 = "Power Systems Inc"
  4. text4 = "DANGER INSIDE"
  5. text5 = "HIGH VOLTAGE"
  6. text3 = "It is currently.."
  7. mon = peripheral.wrap(side)
  8. mon.setTextScale(1)
  9. while true
  10. do
  11.  
  12.   mon.setTextColor(colors.white)
  13.   mon.setCursorPos(1,1)
  14.   mon.write(text)
  15.   mon.setCursorPos(1,2)
  16.   mon.write(text2)
  17.   mon.setCursorPos(1,4)
  18.   mon.write(text3)
  19.   mon.setCursorPos(1,5)
  20.   mon.write(textutils.formatTime(os.time(),false))
  21.   mon.setCursorPos(1,8)
  22.   mon.setTextColor(colors.red)
  23.   mon.write(text4)
  24.   mon.setCursorPos(1,9)
  25.   mon.write(text5)
  26.   sleep(1)
  27.   mon.clear()
  28.   term.setCursorPos(1,1)
  29.  end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement