SHARE
TWEET

SimSoft Yellow - UPDATE - 5.0.2

Simlor_GER Jul 20th, 2017 (edited) 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --SimSoft Yellow -  Copyright by Simlor (http://www.computercraft.info/forums2/index.php?/user/55655-simlor/)
  2.  
  3. --Update 5.0.2
  4.  
  5. file = fs.open("SimSoft/Data/Version","r")
  6. local fileData = {}
  7. local line = file.readLine()
  8. repeat
  9. table.insert(fileData,line)
  10. line = file.readLine()
  11. until line == nil
  12. file.close()
  13.    
  14. Sprache = fileData[4]
  15.  
  16. settings.set("shell.allow_disk_startup", false)
  17. settings.save(".settings")
  18.  
  19. local file = fs.open("SimSoft/Data/Version", "w")
  20. file.writeLine("SimSoft System Version")
  21. file.writeLine("")
  22. file.writeLine("5.0.2")
  23. file.writeLine(Sprache)
  24. file.close()
  25.  
  26. os.reboot()
  27.  
  28. --end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top