Advertisement
Guest User

startup

a guest
May 28th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. rednet.open("top")
  2.  
  3. while true do
  4.   id,v = rednet.receive()
  5.   id,o = rednet.receive()
  6.   id,t = rednet.receive()
  7.   id,g = rednet.receive()
  8.  
  9.   sleep(0,95)
  10.   term.setTextColor(colors.blue)
  11.   print("------------------------------------")
  12.   term.clear()
  13.   term.setCursorPos(1,1)
  14.   print("------------------------------------")
  15.   if v == true then
  16.     term.setTextColor(colors.lime)
  17.     print("Reacteur 4 en marche")
  18.   else
  19.     term.setTextColor(colors.red)
  20.     print("Reacteur 4 eteind")
  21.   end
  22.   if o == true then
  23.     term.setTextColor(colors.lime)
  24.     print("Reacteur 3 en marche")
  25.   else
  26.     term.setTextColor(colors.red)
  27.     print("Reacteur 3 eteind")
  28.   end
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement