djbigmac9

5min - Game Show 3

Jul 28th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mon1 = peripheral.wrap("monitor_0")
  2. mon2 = peripheral.wrap("monitor_3")
  3. mon3 = peripheral.wrap("monitor_4")
  4. mon4 = peripheral.wrap("monitor_7")
  5.  
  6.   mon1.setBackgroundColor(colors.blue)
  7.   mon2.setBackgroundColor(colors.blue)
  8.   mon3.setBackgroundColor(colors.blue)
  9.   mon4.setBackgroundColor(colors.blue)
  10.  
  11.   mon1.setTextColor(colors.yellow)
  12.   mon2.setTextColor(colors.yellow)
  13.   mon3.setTextColor(colors.yellow)
  14.   mon4.setTextColor(colors.yellow)
  15.  
  16.   mon1.setCursorPos(6,4.5)
  17.   mon2.setCursorPos(6,4.5)
  18.   mon3.setCursorPos(6,4.5)
  19.   mon4.setCursorPos(6,4.5)
  20.  
  21.   mon1.setTextScale(5)
  22.   mon2.setTextScale(5)
  23.   mon3.setTextScale(5)
  24.   mon4.setTextScale(5)
  25.  
  26. sleep(300)
  27.  
  28.   mon1.clear()
  29.   mon2.clear()
  30.   mon3.clear()
  31.   mon4.clear()
  32.  
  33.   mon1.write("5 Minutes Remaining")
  34.   mon2.write("5 Minutes Remaining")
  35.   mon3.write("5 Minutes Remaining")
  36.   mon4.write("5 Minutes Remaining")
  37.  
  38. shell.run("1min")
Advertisement
Add Comment
Please, Sign In to add comment