SHARE
TWEET

update simsoft 2.1.7-en

Simlor_GER Mar 16th, 2016 (edited) 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Alle Rechte an SimSoft 2.1 sind "SimlorLP" (oder in Minecraft auch nur "Simlor") vorbehalten.
  2. --Update 2.1.7
  3.  
  4. file = fs.open("SimSoft/Daten/User","r")
  5. local fileData = {}
  6. local line = file.readLine()
  7. repeat
  8. table.insert(fileData,line)
  9. line = file.readLine()
  10. until line == nil
  11. file.close()
  12.  
  13. name = fileData[1]
  14. pass = fileData[2]
  15. hin = fileData[3]
  16. hinz = fileData[4]
  17.  
  18. local file = fs.open("SimSoft/Daten/User","w")
  19. file.close()
  20.    
  21. local file = fs.open("SimSoft/Daten/User","a")
  22. file.writeLine(name)
  23. file.close()
  24.    
  25. local file = fs.open("SimSoft/Daten/User","a")
  26. file.writeLine(pass)
  27. file.close()
  28.          
  29. local file = fs.open("SimSoft/Daten/User","a")
  30. file.writeLine(hin)
  31. file.close()
  32.    
  33. local file = fs.open("SimSoft/Daten/User","a")
  34. file.writeLine(hinz)
  35. file.close()
  36.  
  37.  local file = fs.open("SimSoft/Daten/User","a")
  38.  file.writeLine("2.1.7")
  39.  file.close()
  40.  
  41. --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