Advertisement
Marlingaming

Sk_UserSystem

Dec 15th, 2021
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. --this script acts as the Base User system, which allows the user to interact with scripts, see files, etc. this version is a skeleton version, meaning it only has the bare minimum required for the User to interact with the OS
  2.  
  3. version = "1.0.0"
  4. local Address = "n"
  5. local ScreenWidth, ScreenHeight = term.getSize()
  6. local OSVersion = "1.0.0"
  7.  
  8. local function Clear()
  9. term.clear()
  10. term.setCursorPos(1,1)
  11. end
  12.  
  13. local function LoadAddress()
  14. Clear()
  15. if Address == "n" then
  16. term.setBackgroundColor(colors.blue)
  17. paintutils.drawFilledBox(1,ScreenHeight-ScreenHeight/10,ScreenWidth,ScreenHeight,colors.gray)
  18. term.setCursorPos(1,1)
  19. term.setTextColor(colors.white)
  20. term.write("Gem OS version "..OSVersion)
  21. else
  22.  
  23. end
  24. end
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement