Advertisement
peptide

Display

May 9th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.94 KB | None | 0 0
  1. side = "right" --This is the side of the monitor
  2.  
  3. mon = peripheral.wrap(side)
  4. mon.clear()
  5. mon.setTextScale(4)
  6.  
  7. --mon.write("INPUT REQUIRED");
  8.  
  9. --print "How many days (Minecraft) since last Meltdown?"
  10. --local Day = tonumber(io.read())
  11.  
  12. --print "How many days is the current record?"
  13. --local Record= tonumber(io.read())
  14.  
  15.  
  16.  
  17. mon.setCursorPos(1,1)
  18. mon.write("Welcome to Swamplake.")
  19.  
  20. --mon.setCursorPos(1,3)
  21. --mon.write("Your safety is important")
  22. --mon.setCursorPos(1,4)
  23. --mon.write("         to us.")
  24.  
  25.  
  26. --mon.setCursorPos(1,6)
  27. --mon.write("Days since last")
  28.  
  29. --mon.setCursorPos(1,9)
  30. --mon.write("Previous Record : " .. Record .. " Days")
  31.  
  32. --local DoneAdd = false
  33. --while true do
  34. --  if (os.time() < 1.000) then
  35. --      if (DoneAdd == false) then
  36. --          Day = Day + 1
  37. --          DoneAdd = true
  38. --      end
  39. --  else
  40.  --     DoneAdd = false
  41. --  end
  42. --  mon.setCursorPos(1,7)
  43. --  mon.write("Nuclear Meltdown : " .. Day)
  44.   --       os.sleep(1)
  45. --end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement