Advertisement
CodeCrafter

WinOs2

Feb 24th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. -- Wincraft 7 made by: gijsvdsande
  2.  
  3. -- microcraft
  4. term.clear()
  5.  
  6.  
  7. print(" @@@@ @@@@@ ")
  8. print(" @@@ @@@ ")
  9. print(" @@@ @@@ ")
  10. print(" @@@ @@@ ")
  11. print(" @@@@ @@@@@ ")
  12.  
  13. textutils.slowPrint(" ComputerCraft Os", 5 )
  14. sleep(3)
  15.  
  16. term.clear()
  17.  
  18. print(" Loading WinCraft... ")
  19.  
  20. textutils.slowPrint(" @@@ @@@@@@ @@@ @@@ @@@ ", 10)
  21. textutils.slowPrint(" @@@ @@@ @@@ @@@ @@@@ @@@ ", 10)
  22. textutils.slowPrint(" @@@ @@@ @@@ @@@ @@@ @ @@@ ", 10)
  23. textutils.slowPrint(" @@@@@ @@@@@@ @@@ @ @@@ ", 10)
  24. textutils.slowPrint(" @@@ @@@@ @@@ @ @@@ ", 10)
  25. textutils.slowPrint(" @ @ @@@ @ @@@ ", 10)
  26. textutils.slowPrint(" @@@ @ @@@ ", 10)
  27. textutils.slowPrint(" @@@ @@@@ ", 10)
  28.  
  29. sleep(3)
  30. print(" Now loading... ")
  31. textutils.slowPrint(" |---------------------|", 10 )
  32. sleep(3)
  33. print("Success")
  34. sleep(3)
  35. term.clear()
  36. sleep(1)
  37. print(" ______________________________________ ")
  38. print(" / Login: | ")
  39. print(" | pass: | ")
  40. print(" \_____________________________________/ ")
  41.  
  42. local login = io.read()
  43.  
  44. local pass = read("*")
  45.  
  46. if login == "Gijs" and pass == "gs1311" then
  47. print(" Welcome")
  48. else
  49. print(" Wrong username or password ")
  50. sleep(3)
  51. os.reboot()
  52. end
  53.  
  54. sleep(3)
  55. term.clear()
  56. print(" Loading menu... ")
  57. textutils.slowPrint(" ...........", 5 )
  58. sleep(3)
  59. term.clear()
  60. print(" ____________________________________________ ")
  61. print(" / WinCraft| \ ")
  62. print(" | Typ wat in ... | ")
  63. print(" | ___ ___ ___ ___ ___ ___ ___ | ")
  64. print(" | | | | | | || | | | | | ")
  65. print(" | | | | | | || | | | | | ")
  66. print(" | |__| |__| |___||___|___|___|___| | ")
  67. print(" | | ")
  68. print(" \____________________________________________/ ")
  69.  
  70. local CMD = io.read()
  71.  
  72. if CMD == "Report" then
  73. shell.run("Report")
  74.  
  75. elseif CMD == "Shutdown" then
  76. shell.run("Shutdown")
  77.  
  78. elseif CMD == "Reboot" then
  79. shell.run("reboot")
  80.  
  81. elseif CMD == "Worm" then
  82. shell.run("Worm")
  83.  
  84. elseif CMD == "time" then
  85. os.time()
  86. sleep(3)
  87. os.reboot()
  88.  
  89. elseif CMD == "Credits" then
  90. shell.run("Credits")
  91.  
  92. else
  93. print("Commands are: Report, Shutdown, Reboot, Worm, time, Credits ")
  94. sleep(3)
  95. os.reboot()
  96. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement