Advertisement
GochiPC

qgame

Oct 21st, 2023
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.07 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. term.setTextColor(colors.yellow)
  4. print("Welcome to MineOS questiongame")
  5. print("type start to start")
  6. term.setTextColor(colors.white)
  7. while (read() ~= "start") do
  8.   term.setTextColor(colors.white)
  9.   print("Wrong Word")
  10.   term.setTextColor(colors.white)
  11. end
  12. term.clear()
  13. term.setCursorPos(1,1)
  14. term.setTextColor(colors.yellow)
  15. print("Made By GochiPC")
  16. print(" ")
  17. print("Who maked MineOS?")
  18. term.setTextColor(colors.white)
  19. while (read() ~= "gochifo") do
  20.   term.setTextColor(colors.red)
  21.   print("Wrong try again")
  22. end
  23. term.clear()
  24. term.setCursorPos(1,1)
  25. term.setTextColor(colors.yellow)
  26. print("Made By GochiPC")
  27. print(" ")
  28. print("what was e first oparating system was maded?")
  29. term.setTextColor(colors.white)
  30. while (read() ~= "cmdos") do
  31.   term.setTextColor(colors.red)
  32.   print("Wrong try again")
  33. end
  34. term.clear()
  35. term.setCursorPos(1,1)
  36. term.setTextColor(colors.yellow)
  37. print("thanks for playing")
  38. print("type leave to leave")
  39. term.setTextColor(colors.white)
  40. while (read() ~= "leave") do
  41.   print(" ")
  42. end
  43. os.reboot()
  44.  
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement