Advertisement
drProfessorGTA

IndustrieOS1.0 Desktop

May 22nd, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.13 KB | None | 0 0
  1. id = os.getComputerID()
  2.  
  3.  
  4. if id == 1 then
  5. mon = peripheral.wrap("monitor_0")
  6. elseif id == 2 then
  7. mon = peripheral.wrap("monitor_1")
  8. end
  9.  
  10. mon.setTextScale(0.5)
  11.  
  12.  
  13. shell.run("clear")
  14. mon.clear()
  15. mon.setCursorPos(1,1)
  16. write("IndustrieOS 1.0   |   Benutzer: ")
  17. print(benutzer2)
  18. print("---------------------------------------------------")
  19. print("   Programme:           Funktionen:")
  20. print("")
  21. print("                          Desktop")
  22. print("                       Herunterfahren")
  23. print("                          Neustart")
  24. print("---------------------------------------------------")
  25.  
  26.  
  27.  
  28.  
  29.  
  30. mon.write("IndustrieOS 1.0   |   Benutzer: ")
  31. mon.write(benutzer)
  32. mon.setCursorPos(1,2)
  33. mon.write("---------------------------------------------------")
  34. mon.setCursorPos(1,3)
  35. mon.write("   Programme:             Funktionen:")
  36. mon.setCursorPos(1,5)
  37. mon.write("                            Desktop")
  38. mon.setCursorPos(1,6)
  39. mon.write("                         Herunterfahren")
  40. mon.setCursorPos(1,7)
  41. mon.write("                            Neustart")
  42. mon.setCursorPos(1,8)
  43. mon.write("---------------------------------------------------")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement