SHARE
TWEET

startup

a guest Oct 24th, 2017 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local monitor = peripheral.wrap("left")
  2.  
  3. local show = true
  4.  
  5. while true do
  6.  
  7.   monitor.clear()
  8.  
  9.   if show then
  10.     monitor.setCursorPos(23, 7)
  11.     monitor.setTextColor(colors.yellow)
  12.     monitor.write("WARNING")
  13.   end
  14.  
  15.   monitor.setCursorPos(15, 10)
  16.   monitor.setTextColor(colors.red)
  17.   monitor.write("No network connection")
  18.  
  19.   monitor.setCursorPos(21, 13)
  20.   monitor.setTextColor(colors.lightBlue)
  21.   monitor.write("Risk: NONE")
  22.  
  23.   monitor.setCursorPos(8, 18)
  24.   monitor.setTextColor(colors.white)
  25.   monitor.write("The risk was assessed as well because")
  26.   monitor.setCursorPos(6, 21)
  27.   monitor.write("there is no chamber that could be a risk.")
  28.  
  29.   show = not show
  30.      
  31.   sleep(1)
  32.  
  33. end
RAW Paste Data
Top