Advertisement
-IJAM-

IJAM Installer/Updater

Feb 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.70 KB | None | 0 0
  1. --================================
  2. -- Variablen Block
  3. --================================
  4. local version = "1.0.0.0"
  5.  
  6. local s1,s2,s3,s4,s5
  7. local sI -- Die aktuelle Auswahl.
  8. local StudentNames = {"Andrew", "Alfred", "Alex", "Amber", "Alice"}
  9.  
  10. --================================
  11. -- Switcht zwischen Monochormer und Farbiger ansicht.
  12. --================================
  13. function IJAMMenu()
  14.   if term.isColor() then
  15.   MainMenu()
  16.   else
  17.   MainMenu()
  18.   end
  19. end
  20.  
  21.  
  22. --===================================================================================
  23. --===================================================================================
  24. --===================================================================================
  25. --           __  __ ______ _   _ _    _  ______
  26. --          |  \/  |  ____| \ | | |  | ||  ____|
  27. --          | \  / | |__  |  \| | |  | || |____
  28. --          | |\/| |  __| | . ` | |  | ||____  |
  29. --          | |  | | |____| |\  | |__| | ____| |
  30. --          |_|  |_|______|_| \_|\____/ |______|
  31. --===================================================================================
  32. --===================================================================================
  33. --===================================================================================
  34. --===================================================================================
  35. function MainMenu()
  36.   shell.run("clear")
  37.   for i = 1,10,1 do
  38.     local pDone=false
  39.     if i==1 then
  40.       print("|       IJAM OS VERSION "..version.."       |")
  41.     pDone=true
  42.     end
  43.     if i==2 then
  44.       print("|============ Main Menu ==============|")
  45.     pDone=true
  46.     end
  47.     print(StudentNames[3])
  48.    
  49.   end
  50. end
  51.  
  52.  
  53. IJAMMenu()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement