SHARE
TWEET

SimSoft 3.1 - DeleteSappS (Out)

Simlor_GER May 16th, 2016 (edited) 337 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Alle Rechte an SimSoft 3 sind "SimlorLP" (oder in Minecraft auch nur "Simlor") vorbehalten.
  2.  
  3. BC(128)
  4. Clear()
  5.  
  6. SimSoftBalken("SimSoft 3 - Delete SappS", 24)
  7.  
  8. Rechte()
  9. if Recht == "Admin" then
  10.  
  11. w, h = term.getSize()
  12. h = (h-1)
  13. BC(128)
  14. TC(1)
  15. CP(3,h)
  16. print("Desktop")
  17.  
  18.  
  19. --Auflistung
  20.  
  21. TC(1)
  22.  
  23. function SappSL(name,pos)
  24.  
  25.  if pos == "1.0" then
  26.   CP(2,6)
  27.   BC(256)
  28.   print("               ")
  29.   CP(3,6)
  30.   print(name)
  31.  elseif pos == "2.0" then
  32.   CP(2,7)
  33.   BC(128)
  34.   print("               ")
  35.   CP(3,7)
  36.   print(name)
  37.  elseif pos == "3.0" then
  38.   CP(2,8)
  39.   BC(256)
  40.   print("               ")
  41.   CP(3,8)
  42.   print(name)
  43.  elseif pos == "4.0" then
  44.   CP(2,9)
  45.   BC(128)
  46.   print("               ")
  47.   CP(3,9)
  48.   print(name)
  49.  elseif pos == "5.0" then
  50.   CP(2,10)
  51.   BC(256)
  52.   print("               ")
  53.   CP(3,10)
  54.   print(name)
  55.  elseif pos == "6.0" then
  56.   CP(2,11)
  57.   BC(128)
  58.   print("               ")
  59.   CP(3,11)
  60.   print(name)
  61.  elseif pos == "7.0" then
  62.   CP(2,12)
  63.   BC(256)
  64.   print("               ")
  65.   CP(3,12)
  66.   print(name)
  67.  elseif pos == "8.0" then
  68.   CP(2,13)
  69.   BC(128)
  70.   print("               ")
  71.   CP(3,13)
  72.   print(name)
  73.  elseif pos == "9.0" then
  74.   CP(2,14)
  75.   BC(256)
  76.   print("               ")
  77.   CP(3,14)
  78.   print(name)
  79.  elseif pos == "10.0" then
  80.   CP(2,15)
  81.   BC(128)
  82.   print("               ")
  83.   CP(3,15)
  84.   print(name)
  85.  elseif pos == "11.0" then
  86.   CP(2,16)
  87.   BC(256)
  88.   print("               ")
  89.   CP(3,16)
  90.   print(name)
  91.  elseif pos == "12.0" then
  92.   CP(20,6)
  93.   BC(128)
  94.   print("               ")
  95.   CP(21,6)
  96.   print(name)
  97.  elseif pos == "13.0" then
  98.   CP(20,7)
  99.   BC(256)
  100.   print("               ")
  101.   CP(21,7)
  102.   print(name)
  103.  elseif pos == "14.0" then
  104.   CP(20,8)
  105.   BC(128)
  106.   print("               ")
  107.   CP(21,8)
  108.   print(name)
  109.  elseif pos == "15.0" then
  110.   CP(20,9)
  111.   BC(256)
  112.   print("               ")
  113.   CP(21,9)
  114.   print(name)
  115.  end
  116. end
  117.  
  118.  
  119.  
  120.  
  121. file = fs.open("SimSoft/Daten/SappS/A","r")
  122. local fileData = {}
  123. local line = file.readLine()
  124. repeat
  125. table.insert(fileData,line)
  126. line = file.readLine()
  127. until line == nil
  128. file.close()
  129.  
  130. sc = fileData[1]
  131.  
  132. sc = (sc+1)
  133. sc = (sc-1)
  134.  
  135. if sc >= 16 then
  136.  sc = 15
  137. elseif sc <= -1 then
  138.  sc = 0
  139. end
  140.  
  141. if sc == 0 then
  142.  shell.run("")
  143. else
  144.  
  145.  anz = 0
  146.  
  147.  while true do
  148.  
  149.   anz = (anz+1)
  150.  
  151.   file = fs.open("SimSoft/Daten/SappS/"..anz,"r")
  152.   local fileData = {}
  153.   local line = file.readLine()
  154.   repeat
  155.   table.insert(fileData,line)
  156.   line = file.readLine()
  157.   until line == nil
  158.   file.close()
  159.  
  160.   a = fileData[1]
  161.   b = fileData[2]
  162.  
  163.   SappSL(a,b)
  164.  
  165.   if anz == sc then
  166.    break
  167.   end
  168.  end
  169. end
  170.  
  171. --Touch
  172.  
  173. while true do
  174.  
  175.  file = fs.open("SimSoft/Daten/SappS/A","r")
  176.  local fileData = {}
  177.  local line = file.readLine()
  178.  repeat
  179.  table.insert(fileData,line)
  180.  line = file.readLine()
  181.  until line == nil
  182.  file.close()
  183.  
  184.  sc = fileData[1]
  185.  
  186.  sc = (sc+1)
  187.  sc = (sc-1)
  188.  
  189.  if sc >= 16 then
  190.   sc = 15
  191.  end
  192.  
  193.  event,side,x,y = os.pullEvent()
  194.  if event == "mouse_click" then
  195.    
  196.    
  197.    -- 1
  198.    
  199.   if x >= 2 and x <= 16 and y == 6 then
  200.    
  201.    n = 1
  202.  
  203.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  204.    local fileData = {}
  205.    local line = file.readLine()
  206.    repeat
  207.    table.insert(fileData,line)
  208.    line = file.readLine()
  209.    until line == nil
  210.    file.close()
  211.    ver = fileData[6]
  212.    if ver == "false" then
  213.     shell.run("")
  214.    else
  215.     shell.run("delete SimSoft/SappS/"..ver)
  216.    
  217.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  218.     file.close()
  219.    
  220.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  221.     file.writeLine()
  222.     file.close()
  223.    
  224.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  225.     file.writeLine()
  226.     file.close()
  227.    
  228.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  229.     file.writeLine()
  230.     file.close()
  231.    
  232.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  233.     file.writeLine()
  234.     file.close()
  235.    
  236.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  237.     file.writeLine("n")
  238.     file.close()
  239.    
  240.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  241.     file.writeLine("false")
  242.     file.close()
  243.    
  244.     sc = (sc-1)
  245.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  246.     file.writeLine(sc)
  247.     file.close()
  248.    
  249.     --Schieben im Falls das x sc nicht letzte Nr war.
  250.    
  251.     sc = (sc+1)
  252.    
  253.     if n == sc then
  254.      shell.run("")
  255.     else
  256.    
  257.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  258.      local fileData = {}
  259.      local line = file.readLine()
  260.      repeat
  261.      table.insert(fileData,line)
  262.      line = file.readLine()
  263.      until line == nil
  264.      file.close()
  265.      
  266.      a = fileData[1]
  267.      b = n
  268.      c = fileData[3]
  269.      d = fileData[4]
  270.      e = fileData[5]
  271.      f = fileData[6]
  272.      
  273.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  274.      file.close()
  275.    
  276.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  277.      file.writeLine()
  278.      file.close()
  279.    
  280.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  281.      file.writeLine()
  282.      file.close()
  283.    
  284.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  285.      file.writeLine()
  286.      file.close()
  287.    
  288.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  289.      file.writeLine()
  290.      file.close()
  291.    
  292.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  293.      file.writeLine("n")
  294.      file.close()
  295.    
  296.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  297.      file.writeLine("false")
  298.      file.close()
  299.      
  300.      
  301.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  302.      file.close()
  303.    
  304.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  305.      file.writeLine(a)
  306.      file.close()
  307.    
  308.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  309.      file.writeLine(b)
  310.      file.close()
  311.    
  312.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  313.      file.writeLine(c)
  314.      file.close()
  315.    
  316.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  317.      file.writeLine(d)
  318.      file.close()
  319.    
  320.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  321.      file.writeLine(e)
  322.      file.close()
  323.    
  324.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  325.      file.writeLine(f)
  326.      file.close()
  327.     end
  328.     break
  329.    end
  330.    
  331.   -- 2
  332.  
  333.   elseif x >= 2 and x <= 16 and y == 7 then
  334.    
  335.    n = 2
  336.  
  337.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  338.    local fileData = {}
  339.    local line = file.readLine()
  340.    repeat
  341.    table.insert(fileData,line)
  342.    line = file.readLine()
  343.    until line == nil
  344.    file.close()
  345.    ver = fileData[6]
  346.    if ver == "false" then
  347.     shell.run("")
  348.    else
  349.     shell.run("delete SimSoft/SappS/"..ver)
  350.    
  351.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  352.     file.close()
  353.    
  354.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  355.     file.writeLine()
  356.     file.close()
  357.    
  358.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  359.     file.writeLine()
  360.     file.close()
  361.    
  362.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  363.     file.writeLine()
  364.     file.close()
  365.    
  366.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  367.     file.writeLine()
  368.     file.close()
  369.    
  370.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  371.     file.writeLine("n")
  372.     file.close()
  373.    
  374.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  375.     file.writeLine("false")
  376.     file.close()
  377.    
  378.     sc = (sc-1)
  379.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  380.     file.writeLine(sc)
  381.     file.close()
  382.    
  383.     --Schieben im Falls das x sc nicht letzte Nr war.
  384.    
  385.     sc = (sc+1)
  386.    
  387.     if n == sc then
  388.      shell.run("")
  389.     else
  390.    
  391.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  392.      local fileData = {}
  393.      local line = file.readLine()
  394.      repeat
  395.      table.insert(fileData,line)
  396.      line = file.readLine()
  397.      until line == nil
  398.      file.close()
  399.      
  400.      a = fileData[1]
  401.      b = n
  402.      c = fileData[3]
  403.      d = fileData[4]
  404.      e = fileData[5]
  405.      f = fileData[6]
  406.      
  407.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  408.      file.close()
  409.    
  410.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  411.      file.writeLine()
  412.      file.close()
  413.    
  414.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  415.      file.writeLine()
  416.      file.close()
  417.    
  418.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  419.      file.writeLine()
  420.      file.close()
  421.    
  422.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  423.      file.writeLine()
  424.      file.close()
  425.    
  426.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  427.      file.writeLine("n")
  428.      file.close()
  429.    
  430.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  431.      file.writeLine("false")
  432.      file.close()
  433.      
  434.      
  435.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  436.      file.close()
  437.    
  438.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  439.      file.writeLine(a)
  440.      file.close()
  441.    
  442.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  443.      file.writeLine(b)
  444.      file.close()
  445.    
  446.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  447.      file.writeLine(c)
  448.      file.close()
  449.    
  450.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  451.      file.writeLine(d)
  452.      file.close()
  453.    
  454.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  455.      file.writeLine(e)
  456.      file.close()
  457.    
  458.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  459.      file.writeLine(f)
  460.      file.close()
  461.     end
  462.     break
  463.    end
  464.  
  465.   -- 3
  466.  
  467.   elseif x >= 2 and x <= 16 and y == 8 then
  468.    
  469.    n = 3
  470.  
  471.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  472.    local fileData = {}
  473.    local line = file.readLine()
  474.    repeat
  475.    table.insert(fileData,line)
  476.    line = file.readLine()
  477.    until line == nil
  478.    file.close()
  479.    ver = fileData[6]
  480.    if ver == "false" then
  481.     shell.run("")
  482.    else
  483.     shell.run("delete SimSoft/SappS/"..ver)
  484.    
  485.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  486.     file.close()
  487.    
  488.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  489.     file.writeLine()
  490.     file.close()
  491.    
  492.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  493.     file.writeLine()
  494.     file.close()
  495.    
  496.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  497.     file.writeLine()
  498.     file.close()
  499.    
  500.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  501.     file.writeLine()
  502.     file.close()
  503.    
  504.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  505.     file.writeLine("n")
  506.     file.close()
  507.    
  508.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  509.     file.writeLine("false")
  510.     file.close()
  511.    
  512.     sc = (sc-1)
  513.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  514.     file.writeLine(sc)
  515.     file.close()
  516.    
  517.     --Schieben im Falls das x sc nicht letzte Nr war.
  518.    
  519.     sc = (sc+1)
  520.    
  521.     if n == sc then
  522.      shell.run("")
  523.     else
  524.    
  525.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  526.      local fileData = {}
  527.      local line = file.readLine()
  528.      repeat
  529.      table.insert(fileData,line)
  530.      line = file.readLine()
  531.      until line == nil
  532.      file.close()
  533.      
  534.      a = fileData[1]
  535.      b = n
  536.      c = fileData[3]
  537.      d = fileData[4]
  538.      e = fileData[5]
  539.      f = fileData[6]
  540.      
  541.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  542.      file.close()
  543.    
  544.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  545.      file.writeLine()
  546.      file.close()
  547.    
  548.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  549.      file.writeLine()
  550.      file.close()
  551.    
  552.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  553.      file.writeLine()
  554.      file.close()
  555.    
  556.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  557.      file.writeLine()
  558.      file.close()
  559.    
  560.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  561.      file.writeLine("n")
  562.      file.close()
  563.    
  564.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  565.      file.writeLine("false")
  566.      file.close()
  567.      
  568.      
  569.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  570.      file.close()
  571.    
  572.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  573.      file.writeLine(a)
  574.      file.close()
  575.    
  576.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  577.      file.writeLine(b)
  578.      file.close()
  579.    
  580.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  581.      file.writeLine(c)
  582.      file.close()
  583.    
  584.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  585.      file.writeLine(d)
  586.      file.close()
  587.    
  588.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  589.      file.writeLine(e)
  590.      file.close()
  591.    
  592.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  593.      file.writeLine(f)
  594.      file.close()
  595.     end
  596.     break
  597.    end
  598.  
  599.   -- 4
  600.  
  601.   elseif x >= 2 and x <= 16 and y == 9 then
  602.    
  603.    n = 4
  604.  
  605.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  606.    local fileData = {}
  607.    local line = file.readLine()
  608.    repeat
  609.    table.insert(fileData,line)
  610.    line = file.readLine()
  611.    until line == nil
  612.    file.close()
  613.    ver = fileData[6]
  614.    if ver == "false" then
  615.     shell.run("")
  616.    else
  617.     shell.run("delete SimSoft/SappS/"..ver)
  618.    
  619.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  620.     file.close()
  621.    
  622.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  623.     file.writeLine()
  624.     file.close()
  625.    
  626.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  627.     file.writeLine()
  628.     file.close()
  629.    
  630.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  631.     file.writeLine()
  632.     file.close()
  633.    
  634.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  635.     file.writeLine()
  636.     file.close()
  637.    
  638.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  639.     file.writeLine("n")
  640.     file.close()
  641.    
  642.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  643.     file.writeLine("false")
  644.     file.close()
  645.    
  646.     sc = (sc-1)
  647.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  648.     file.writeLine(sc)
  649.     file.close()
  650.    
  651.     --Schieben im Falls das x sc nicht letzte Nr war.
  652.    
  653.     sc = (sc+1)
  654.    
  655.     if n == sc then
  656.      shell.run("")
  657.     else
  658.    
  659.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  660.      local fileData = {}
  661.      local line = file.readLine()
  662.      repeat
  663.      table.insert(fileData,line)
  664.      line = file.readLine()
  665.      until line == nil
  666.      file.close()
  667.      
  668.      a = fileData[1]
  669.      b = n
  670.      c = fileData[3]
  671.      d = fileData[4]
  672.      e = fileData[5]
  673.      f = fileData[6]
  674.      
  675.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  676.      file.close()
  677.    
  678.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  679.      file.writeLine()
  680.      file.close()
  681.    
  682.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  683.      file.writeLine()
  684.      file.close()
  685.    
  686.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  687.      file.writeLine()
  688.      file.close()
  689.    
  690.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  691.      file.writeLine()
  692.      file.close()
  693.    
  694.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  695.      file.writeLine("n")
  696.      file.close()
  697.    
  698.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  699.      file.writeLine("false")
  700.      file.close()
  701.      
  702.      
  703.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  704.      file.close()
  705.    
  706.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  707.      file.writeLine(a)
  708.      file.close()
  709.    
  710.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  711.      file.writeLine(b)
  712.      file.close()
  713.    
  714.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  715.      file.writeLine(c)
  716.      file.close()
  717.    
  718.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  719.      file.writeLine(d)
  720.      file.close()
  721.    
  722.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  723.      file.writeLine(e)
  724.      file.close()
  725.    
  726.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  727.      file.writeLine(f)
  728.      file.close()
  729.     end
  730.     break
  731.    end
  732.  
  733.    -- 5
  734.    
  735.    elseif x >= 2 and x <= 16 and y == 10 then
  736.    
  737.    n = 5
  738.  
  739.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  740.    local fileData = {}
  741.    local line = file.readLine()
  742.    repeat
  743.    table.insert(fileData,line)
  744.    line = file.readLine()
  745.    until line == nil
  746.    file.close()
  747.    ver = fileData[6]
  748.    if ver == "false" then
  749.     shell.run("")
  750.    else
  751.     shell.run("delete SimSoft/SappS/"..ver)
  752.    
  753.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  754.     file.close()
  755.    
  756.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  757.     file.writeLine()
  758.     file.close()
  759.    
  760.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  761.     file.writeLine()
  762.     file.close()
  763.    
  764.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  765.     file.writeLine()
  766.     file.close()
  767.    
  768.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  769.     file.writeLine()
  770.     file.close()
  771.    
  772.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  773.     file.writeLine("n")
  774.     file.close()
  775.    
  776.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  777.     file.writeLine("false")
  778.     file.close()
  779.    
  780.     sc = (sc-1)
  781.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  782.     file.writeLine(sc)
  783.     file.close()
  784.    
  785.     --Schieben im Falls das x sc nicht letzte Nr war.
  786.    
  787.     sc = (sc+1)
  788.    
  789.     if n == sc then
  790.      shell.run("")
  791.     else
  792.    
  793.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  794.      local fileData = {}
  795.      local line = file.readLine()
  796.      repeat
  797.      table.insert(fileData,line)
  798.      line = file.readLine()
  799.      until line == nil
  800.      file.close()
  801.      
  802.      a = fileData[1]
  803.      b = n
  804.      c = fileData[3]
  805.      d = fileData[4]
  806.      e = fileData[5]
  807.      f = fileData[6]
  808.      
  809.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  810.      file.close()
  811.    
  812.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  813.      file.writeLine()
  814.      file.close()
  815.    
  816.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  817.      file.writeLine()
  818.      file.close()
  819.    
  820.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  821.      file.writeLine()
  822.      file.close()
  823.    
  824.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  825.      file.writeLine()
  826.      file.close()
  827.    
  828.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  829.      file.writeLine("n")
  830.      file.close()
  831.    
  832.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  833.      file.writeLine("false")
  834.      file.close()
  835.      
  836.      
  837.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  838.      file.close()
  839.    
  840.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  841.      file.writeLine(a)
  842.      file.close()
  843.    
  844.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  845.      file.writeLine(b)
  846.      file.close()
  847.    
  848.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  849.      file.writeLine(c)
  850.      file.close()
  851.    
  852.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  853.      file.writeLine(d)
  854.      file.close()
  855.    
  856.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  857.      file.writeLine(e)
  858.      file.close()
  859.    
  860.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  861.      file.writeLine(f)
  862.      file.close()
  863.     end
  864.     break
  865.    end
  866.    
  867.    -- 6
  868.    
  869.    elseif x >= 2 and x <= 16 and y == 11 then
  870.    
  871.    n = 6
  872.  
  873.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  874.    local fileData = {}
  875.    local line = file.readLine()
  876.    repeat
  877.    table.insert(fileData,line)
  878.    line = file.readLine()
  879.    until line == nil
  880.    file.close()
  881.    ver = fileData[6]
  882.    if ver == "false" then
  883.     shell.run("")
  884.    else
  885.     shell.run("delete SimSoft/SappS/"..ver)
  886.    
  887.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  888.     file.close()
  889.    
  890.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  891.     file.writeLine()
  892.     file.close()
  893.    
  894.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  895.     file.writeLine()
  896.     file.close()
  897.    
  898.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  899.     file.writeLine()
  900.     file.close()
  901.    
  902.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  903.     file.writeLine()
  904.     file.close()
  905.    
  906.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  907.     file.writeLine("n")
  908.     file.close()
  909.    
  910.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  911.     file.writeLine("false")
  912.     file.close()
  913.    
  914.     sc = (sc-1)
  915.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  916.     file.writeLine(sc)
  917.     file.close()
  918.    
  919.     --Schieben im Falls das x sc nicht letzte Nr war.
  920.    
  921.     sc = (sc+1)
  922.    
  923.     if n == sc then
  924.      shell.run("")
  925.     else
  926.    
  927.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  928.      local fileData = {}
  929.      local line = file.readLine()
  930.      repeat
  931.      table.insert(fileData,line)
  932.      line = file.readLine()
  933.      until line == nil
  934.      file.close()
  935.      
  936.      a = fileData[1]
  937.      b = n
  938.      c = fileData[3]
  939.      d = fileData[4]
  940.      e = fileData[5]
  941.      f = fileData[6]
  942.      
  943.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  944.      file.close()
  945.    
  946.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  947.      file.writeLine()
  948.      file.close()
  949.    
  950.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  951.      file.writeLine()
  952.      file.close()
  953.    
  954.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  955.      file.writeLine()
  956.      file.close()
  957.    
  958.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  959.      file.writeLine()
  960.      file.close()
  961.    
  962.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  963.      file.writeLine("n")
  964.      file.close()
  965.    
  966.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  967.      file.writeLine("false")
  968.      file.close()
  969.      
  970.      
  971.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  972.      file.close()
  973.    
  974.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  975.      file.writeLine(a)
  976.      file.close()
  977.    
  978.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  979.      file.writeLine(b)
  980.      file.close()
  981.    
  982.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  983.      file.writeLine(c)
  984.      file.close()
  985.    
  986.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  987.      file.writeLine(d)
  988.      file.close()
  989.    
  990.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  991.      file.writeLine(e)
  992.      file.close()
  993.    
  994.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  995.      file.writeLine(f)
  996.      file.close()
  997.     end
  998.     break
  999.    end
  1000.  
  1001.    -- 7
  1002.    
  1003.    elseif x >= 2 and x <= 16 and y == 12 then
  1004.    
  1005.    n = 7
  1006.  
  1007.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  1008.    local fileData = {}
  1009.    local line = file.readLine()
  1010.    repeat
  1011.    table.insert(fileData,line)
  1012.    line = file.readLine()
  1013.    until line == nil
  1014.    file.close()
  1015.    ver = fileData[6]
  1016.    if ver == "false" then
  1017.     shell.run("")
  1018.    else
  1019.     shell.run("delete SimSoft/SappS/"..ver)
  1020.    
  1021.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1022.     file.close()
  1023.    
  1024.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1025.     file.writeLine()
  1026.     file.close()
  1027.    
  1028.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1029.     file.writeLine()
  1030.     file.close()
  1031.    
  1032.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1033.     file.writeLine()
  1034.     file.close()
  1035.    
  1036.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1037.     file.writeLine()
  1038.     file.close()
  1039.    
  1040.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1041.     file.writeLine("n")
  1042.     file.close()
  1043.    
  1044.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1045.     file.writeLine("false")
  1046.     file.close()
  1047.    
  1048.     sc = (sc-1)
  1049.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  1050.     file.writeLine(sc)
  1051.     file.close()
  1052.    
  1053.     --Schieben im Falls das x sc nicht letzte Nr war.
  1054.    
  1055.     sc = (sc+1)
  1056.    
  1057.     if n == sc then
  1058.      shell.run("")
  1059.     else
  1060.    
  1061.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  1062.      local fileData = {}
  1063.      local line = file.readLine()
  1064.      repeat
  1065.      table.insert(fileData,line)
  1066.      line = file.readLine()
  1067.      until line == nil
  1068.      file.close()
  1069.      
  1070.      a = fileData[1]
  1071.      b = n
  1072.      c = fileData[3]
  1073.      d = fileData[4]
  1074.      e = fileData[5]
  1075.      f = fileData[6]
  1076.      
  1077.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  1078.      file.close()
  1079.    
  1080.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1081.      file.writeLine()
  1082.      file.close()
  1083.    
  1084.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1085.      file.writeLine()
  1086.      file.close()
  1087.    
  1088.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1089.      file.writeLine()
  1090.      file.close()
  1091.    
  1092.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1093.      file.writeLine()
  1094.      file.close()
  1095.    
  1096.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1097.      file.writeLine("n")
  1098.      file.close()
  1099.    
  1100.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1101.      file.writeLine("false")
  1102.      file.close()
  1103.      
  1104.      
  1105.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1106.      file.close()
  1107.    
  1108.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1109.      file.writeLine(a)
  1110.      file.close()
  1111.    
  1112.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1113.      file.writeLine(b)
  1114.      file.close()
  1115.    
  1116.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1117.      file.writeLine(c)
  1118.      file.close()
  1119.    
  1120.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1121.      file.writeLine(d)
  1122.      file.close()
  1123.    
  1124.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1125.      file.writeLine(e)
  1126.      file.close()
  1127.    
  1128.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1129.      file.writeLine(f)
  1130.      file.close()
  1131.     end
  1132.     break
  1133.    end
  1134.    
  1135.    -- 8
  1136.    
  1137.    elseif x >= 2 and x <= 16 and y == 13 then
  1138.    
  1139.    n = 8
  1140.  
  1141.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  1142.    local fileData = {}
  1143.    local line = file.readLine()
  1144.    repeat
  1145.    table.insert(fileData,line)
  1146.    line = file.readLine()
  1147.    until line == nil
  1148.    file.close()
  1149.    ver = fileData[6]
  1150.    if ver == "false" then
  1151.     shell.run("")
  1152.    else
  1153.     shell.run("delete SimSoft/SappS/"..ver)
  1154.    
  1155.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1156.     file.close()
  1157.    
  1158.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1159.     file.writeLine()
  1160.     file.close()
  1161.    
  1162.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1163.     file.writeLine()
  1164.     file.close()
  1165.    
  1166.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1167.     file.writeLine()
  1168.     file.close()
  1169.    
  1170.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1171.     file.writeLine()
  1172.     file.close()
  1173.    
  1174.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1175.     file.writeLine("n")
  1176.     file.close()
  1177.    
  1178.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1179.     file.writeLine("false")
  1180.     file.close()
  1181.    
  1182.     sc = (sc-1)
  1183.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  1184.     file.writeLine(sc)
  1185.     file.close()
  1186.    
  1187.     --Schieben im Falls das x sc nicht letzte Nr war.
  1188.    
  1189.     sc = (sc+1)
  1190.    
  1191.     if n == sc then
  1192.      shell.run("")
  1193.     else
  1194.    
  1195.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  1196.      local fileData = {}
  1197.      local line = file.readLine()
  1198.      repeat
  1199.      table.insert(fileData,line)
  1200.      line = file.readLine()
  1201.      until line == nil
  1202.      file.close()
  1203.      
  1204.      a = fileData[1]
  1205.      b = n
  1206.      c = fileData[3]
  1207.      d = fileData[4]
  1208.      e = fileData[5]
  1209.      f = fileData[6]
  1210.      
  1211.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  1212.      file.close()
  1213.    
  1214.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1215.      file.writeLine()
  1216.      file.close()
  1217.    
  1218.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1219.      file.writeLine()
  1220.      file.close()
  1221.    
  1222.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1223.      file.writeLine()
  1224.      file.close()
  1225.    
  1226.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1227.      file.writeLine()
  1228.      file.close()
  1229.    
  1230.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1231.      file.writeLine("n")
  1232.      file.close()
  1233.    
  1234.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1235.      file.writeLine("false")
  1236.      file.close()
  1237.      
  1238.      
  1239.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1240.      file.close()
  1241.    
  1242.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1243.      file.writeLine(a)
  1244.      file.close()
  1245.    
  1246.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1247.      file.writeLine(b)
  1248.      file.close()
  1249.    
  1250.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1251.      file.writeLine(c)
  1252.      file.close()
  1253.    
  1254.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1255.      file.writeLine(d)
  1256.      file.close()
  1257.    
  1258.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1259.      file.writeLine(e)
  1260.      file.close()
  1261.    
  1262.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1263.      file.writeLine(f)
  1264.      file.close()
  1265.     end
  1266.     break
  1267.    end
  1268.    
  1269.    -- 9
  1270.    
  1271.    elseif x >= 2 and x <= 16 and y == 14 then
  1272.    
  1273.    n = 9
  1274.  
  1275.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  1276.    local fileData = {}
  1277.    local line = file.readLine()
  1278.    repeat
  1279.    table.insert(fileData,line)
  1280.    line = file.readLine()
  1281.    until line == nil
  1282.    file.close()
  1283.    ver = fileData[6]
  1284.    if ver == "false" then
  1285.     shell.run("")
  1286.    else
  1287.     shell.run("delete SimSoft/SappS/"..ver)
  1288.    
  1289.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1290.     file.close()
  1291.    
  1292.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1293.     file.writeLine()
  1294.     file.close()
  1295.    
  1296.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1297.     file.writeLine()
  1298.     file.close()
  1299.    
  1300.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1301.     file.writeLine()
  1302.     file.close()
  1303.    
  1304.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1305.     file.writeLine()
  1306.     file.close()
  1307.    
  1308.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1309.     file.writeLine("n")
  1310.     file.close()
  1311.    
  1312.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1313.     file.writeLine("false")
  1314.     file.close()
  1315.    
  1316.     sc = (sc-1)
  1317.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  1318.     file.writeLine(sc)
  1319.     file.close()
  1320.    
  1321.     --Schieben im Falls das x sc nicht letzte Nr war.
  1322.    
  1323.     sc = (sc+1)
  1324.    
  1325.     if n == sc then
  1326.      shell.run("")
  1327.     else
  1328.    
  1329.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  1330.      local fileData = {}
  1331.      local line = file.readLine()
  1332.      repeat
  1333.      table.insert(fileData,line)
  1334.      line = file.readLine()
  1335.      until line == nil
  1336.      file.close()
  1337.      
  1338.      a = fileData[1]
  1339.      b = n
  1340.      c = fileData[3]
  1341.      d = fileData[4]
  1342.      e = fileData[5]
  1343.      f = fileData[6]
  1344.      
  1345.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  1346.      file.close()
  1347.    
  1348.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1349.      file.writeLine()
  1350.      file.close()
  1351.    
  1352.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1353.      file.writeLine()
  1354.      file.close()
  1355.    
  1356.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1357.      file.writeLine()
  1358.      file.close()
  1359.    
  1360.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1361.      file.writeLine()
  1362.      file.close()
  1363.    
  1364.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1365.      file.writeLine("n")
  1366.      file.close()
  1367.    
  1368.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1369.      file.writeLine("false")
  1370.      file.close()
  1371.      
  1372.      
  1373.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1374.      file.close()
  1375.    
  1376.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1377.      file.writeLine(a)
  1378.      file.close()
  1379.    
  1380.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1381.      file.writeLine(b)
  1382.      file.close()
  1383.    
  1384.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1385.      file.writeLine(c)
  1386.      file.close()
  1387.    
  1388.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1389.      file.writeLine(d)
  1390.      file.close()
  1391.    
  1392.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1393.      file.writeLine(e)
  1394.      file.close()
  1395.    
  1396.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1397.      file.writeLine(f)
  1398.      file.close()
  1399.     end
  1400.     break
  1401.    end
  1402.    
  1403.    -- 10
  1404.    
  1405.    elseif x >= 2 and x <= 16 and y == 15 then
  1406.    
  1407.    n = 10
  1408.  
  1409.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  1410.    local fileData = {}
  1411.    local line = file.readLine()
  1412.    repeat
  1413.    table.insert(fileData,line)
  1414.    line = file.readLine()
  1415.    until line == nil
  1416.    file.close()
  1417.    ver = fileData[6]
  1418.    if ver == "false" then
  1419.     shell.run("")
  1420.    else
  1421.     shell.run("delete SimSoft/SappS/"..ver)
  1422.    
  1423.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1424.     file.close()
  1425.    
  1426.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1427.     file.writeLine()
  1428.     file.close()
  1429.    
  1430.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1431.     file.writeLine()
  1432.     file.close()
  1433.    
  1434.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1435.     file.writeLine()
  1436.     file.close()
  1437.    
  1438.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1439.     file.writeLine()
  1440.     file.close()
  1441.    
  1442.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1443.     file.writeLine("n")
  1444.     file.close()
  1445.    
  1446.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1447.     file.writeLine("false")
  1448.     file.close()
  1449.    
  1450.     sc = (sc-1)
  1451.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  1452.     file.writeLine(sc)
  1453.     file.close()
  1454.    
  1455.     --Schieben im Falls das x sc nicht letzte Nr war.
  1456.    
  1457.     sc = (sc+1)
  1458.    
  1459.     if n == sc then
  1460.      shell.run("")
  1461.     else
  1462.    
  1463.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  1464.      local fileData = {}
  1465.      local line = file.readLine()
  1466.      repeat
  1467.      table.insert(fileData,line)
  1468.      line = file.readLine()
  1469.      until line == nil
  1470.      file.close()
  1471.      
  1472.      a = fileData[1]
  1473.      b = n
  1474.      c = fileData[3]
  1475.      d = fileData[4]
  1476.      e = fileData[5]
  1477.      f = fileData[6]
  1478.      
  1479.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  1480.      file.close()
  1481.    
  1482.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1483.      file.writeLine()
  1484.      file.close()
  1485.    
  1486.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1487.      file.writeLine()
  1488.      file.close()
  1489.    
  1490.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1491.      file.writeLine()
  1492.      file.close()
  1493.    
  1494.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1495.      file.writeLine()
  1496.      file.close()
  1497.    
  1498.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1499.      file.writeLine("n")
  1500.      file.close()
  1501.    
  1502.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1503.      file.writeLine("false")
  1504.      file.close()
  1505.      
  1506.      
  1507.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1508.      file.close()
  1509.    
  1510.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1511.      file.writeLine(a)
  1512.      file.close()
  1513.    
  1514.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1515.      file.writeLine(b)
  1516.      file.close()
  1517.    
  1518.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1519.      file.writeLine(c)
  1520.      file.close()
  1521.    
  1522.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1523.      file.writeLine(d)
  1524.      file.close()
  1525.    
  1526.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1527.      file.writeLine(e)
  1528.      file.close()
  1529.    
  1530.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1531.      file.writeLine(f)
  1532.      file.close()
  1533.     end
  1534.     break
  1535.    end
  1536.    
  1537.    -- 11
  1538.    
  1539.    elseif x >= 2 and x <= 16 and y == 16 then
  1540.    
  1541.    n = 11
  1542.  
  1543.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  1544.    local fileData = {}
  1545.    local line = file.readLine()
  1546.    repeat
  1547.    table.insert(fileData,line)
  1548.    line = file.readLine()
  1549.    until line == nil
  1550.    file.close()
  1551.    ver = fileData[6]
  1552.    if ver == "false" then
  1553.     shell.run("")
  1554.    else
  1555.     shell.run("delete SimSoft/SappS/"..ver)
  1556.    
  1557.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1558.     file.close()
  1559.    
  1560.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1561.     file.writeLine()
  1562.     file.close()
  1563.    
  1564.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1565.     file.writeLine()
  1566.     file.close()
  1567.    
  1568.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1569.     file.writeLine()
  1570.     file.close()
  1571.    
  1572.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1573.     file.writeLine()
  1574.     file.close()
  1575.    
  1576.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1577.     file.writeLine("n")
  1578.     file.close()
  1579.    
  1580.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1581.     file.writeLine("false")
  1582.     file.close()
  1583.    
  1584.     sc = (sc-1)
  1585.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  1586.     file.writeLine(sc)
  1587.     file.close()
  1588.    
  1589.     --Schieben im Falls das x sc nicht letzte Nr war.
  1590.    
  1591.     sc = (sc+1)
  1592.    
  1593.     if n == sc then
  1594.      shell.run("")
  1595.     else
  1596.    
  1597.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  1598.      local fileData = {}
  1599.      local line = file.readLine()
  1600.      repeat
  1601.      table.insert(fileData,line)
  1602.      line = file.readLine()
  1603.      until line == nil
  1604.      file.close()
  1605.      
  1606.      a = fileData[1]
  1607.      b = n
  1608.      c = fileData[3]
  1609.      d = fileData[4]
  1610.      e = fileData[5]
  1611.      f = fileData[6]
  1612.      
  1613.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  1614.      file.close()
  1615.    
  1616.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1617.      file.writeLine()
  1618.      file.close()
  1619.    
  1620.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1621.      file.writeLine()
  1622.      file.close()
  1623.    
  1624.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1625.      file.writeLine()
  1626.      file.close()
  1627.    
  1628.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1629.      file.writeLine()
  1630.      file.close()
  1631.    
  1632.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1633.      file.writeLine("n")
  1634.      file.close()
  1635.    
  1636.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1637.      file.writeLine("false")
  1638.      file.close()
  1639.      
  1640.      
  1641.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1642.      file.close()
  1643.    
  1644.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1645.      file.writeLine(a)
  1646.      file.close()
  1647.    
  1648.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1649.      file.writeLine(b)
  1650.      file.close()
  1651.    
  1652.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1653.      file.writeLine(c)
  1654.      file.close()
  1655.    
  1656.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1657.      file.writeLine(d)
  1658.      file.close()
  1659.    
  1660.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1661.      file.writeLine(e)
  1662.      file.close()
  1663.    
  1664.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1665.      file.writeLine(f)
  1666.      file.close()
  1667.     end
  1668.     break
  1669.    end
  1670.    
  1671.    -- 12
  1672.    
  1673.    elseif x >= 20 and x <= 34 and y == 6 then
  1674.    
  1675.    n = 12
  1676.  
  1677.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  1678.    local fileData = {}
  1679.    local line = file.readLine()
  1680.    repeat
  1681.    table.insert(fileData,line)
  1682.    line = file.readLine()
  1683.    until line == nil
  1684.    file.close()
  1685.    ver = fileData[6]
  1686.    if ver == "false" then
  1687.     shell.run("")
  1688.    else
  1689.     shell.run("delete SimSoft/SappS/"..ver)
  1690.    
  1691.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1692.     file.close()
  1693.    
  1694.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1695.     file.writeLine()
  1696.     file.close()
  1697.    
  1698.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1699.     file.writeLine()
  1700.     file.close()
  1701.    
  1702.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1703.     file.writeLine()
  1704.     file.close()
  1705.    
  1706.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1707.     file.writeLine()
  1708.     file.close()
  1709.    
  1710.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1711.     file.writeLine("n")
  1712.     file.close()
  1713.    
  1714.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1715.     file.writeLine("false")
  1716.     file.close()
  1717.    
  1718.     sc = (sc-1)
  1719.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  1720.     file.writeLine(sc)
  1721.     file.close()
  1722.    
  1723.     --Schieben im Falls das x sc nicht letzte Nr war.
  1724.    
  1725.     sc = (sc+1)
  1726.    
  1727.     if n == sc then
  1728.      shell.run("")
  1729.     else
  1730.    
  1731.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  1732.      local fileData = {}
  1733.      local line = file.readLine()
  1734.      repeat
  1735.      table.insert(fileData,line)
  1736.      line = file.readLine()
  1737.      until line == nil
  1738.      file.close()
  1739.      
  1740.      a = fileData[1]
  1741.      b = n
  1742.      c = fileData[3]
  1743.      d = fileData[4]
  1744.      e = fileData[5]
  1745.      f = fileData[6]
  1746.      
  1747.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  1748.      file.close()
  1749.    
  1750.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1751.      file.writeLine()
  1752.      file.close()
  1753.    
  1754.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1755.      file.writeLine()
  1756.      file.close()
  1757.    
  1758.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1759.      file.writeLine()
  1760.      file.close()
  1761.    
  1762.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1763.      file.writeLine()
  1764.      file.close()
  1765.    
  1766.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1767.      file.writeLine("n")
  1768.      file.close()
  1769.    
  1770.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1771.      file.writeLine("false")
  1772.      file.close()
  1773.      
  1774.      
  1775.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1776.      file.close()
  1777.    
  1778.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1779.      file.writeLine(a)
  1780.      file.close()
  1781.    
  1782.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1783.      file.writeLine(b)
  1784.      file.close()
  1785.    
  1786.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1787.      file.writeLine(c)
  1788.      file.close()
  1789.    
  1790.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1791.      file.writeLine(d)
  1792.      file.close()
  1793.    
  1794.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1795.      file.writeLine(e)
  1796.      file.close()
  1797.    
  1798.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1799.      file.writeLine(f)
  1800.      file.close()
  1801.     end
  1802.     break
  1803.    end
  1804.    
  1805.    -- 13
  1806.    
  1807.    elseif x >= 20 and x <= 34 and y == 7 then
  1808.    
  1809.    n = 13
  1810.  
  1811.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  1812.    local fileData = {}
  1813.    local line = file.readLine()
  1814.    repeat
  1815.    table.insert(fileData,line)
  1816.    line = file.readLine()
  1817.    until line == nil
  1818.    file.close()
  1819.    ver = fileData[6]
  1820.    if ver == "false" then
  1821.     shell.run("")
  1822.    else
  1823.     shell.run("delete SimSoft/SappS/"..ver)
  1824.    
  1825.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1826.     file.close()
  1827.    
  1828.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1829.     file.writeLine()
  1830.     file.close()
  1831.    
  1832.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1833.     file.writeLine()
  1834.     file.close()
  1835.    
  1836.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1837.     file.writeLine()
  1838.     file.close()
  1839.    
  1840.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1841.     file.writeLine()
  1842.     file.close()
  1843.    
  1844.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1845.     file.writeLine("n")
  1846.     file.close()
  1847.    
  1848.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1849.     file.writeLine("false")
  1850.     file.close()
  1851.    
  1852.     sc = (sc-1)
  1853.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  1854.     file.writeLine(sc)
  1855.     file.close()
  1856.    
  1857.     --Schieben im Falls das x sc nicht letzte Nr war.
  1858.    
  1859.     sc = (sc+1)
  1860.    
  1861.     if n == sc then
  1862.      shell.run("")
  1863.     else
  1864.    
  1865.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  1866.      local fileData = {}
  1867.      local line = file.readLine()
  1868.      repeat
  1869.      table.insert(fileData,line)
  1870.      line = file.readLine()
  1871.      until line == nil
  1872.      file.close()
  1873.      
  1874.      a = fileData[1]
  1875.      b = n
  1876.      c = fileData[3]
  1877.      d = fileData[4]
  1878.      e = fileData[5]
  1879.      f = fileData[6]
  1880.      
  1881.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  1882.      file.close()
  1883.    
  1884.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1885.      file.writeLine()
  1886.      file.close()
  1887.    
  1888.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1889.      file.writeLine()
  1890.      file.close()
  1891.    
  1892.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1893.      file.writeLine()
  1894.      file.close()
  1895.    
  1896.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1897.      file.writeLine()
  1898.      file.close()
  1899.    
  1900.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1901.      file.writeLine("n")
  1902.      file.close()
  1903.    
  1904.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  1905.      file.writeLine("false")
  1906.      file.close()
  1907.      
  1908.      
  1909.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1910.      file.close()
  1911.    
  1912.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1913.      file.writeLine(a)
  1914.      file.close()
  1915.    
  1916.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1917.      file.writeLine(b)
  1918.      file.close()
  1919.    
  1920.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1921.      file.writeLine(c)
  1922.      file.close()
  1923.    
  1924.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1925.      file.writeLine(d)
  1926.      file.close()
  1927.    
  1928.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1929.      file.writeLine(e)
  1930.      file.close()
  1931.    
  1932.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1933.      file.writeLine(f)
  1934.      file.close()
  1935.     end
  1936.     break
  1937.    end
  1938.    
  1939.    -- 14
  1940.    
  1941.    elseif x >= 20 and x <= 34 and y == 8 then
  1942.    
  1943.    n = 14
  1944.  
  1945.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  1946.    local fileData = {}
  1947.    local line = file.readLine()
  1948.    repeat
  1949.    table.insert(fileData,line)
  1950.    line = file.readLine()
  1951.    until line == nil
  1952.    file.close()
  1953.    ver = fileData[6]
  1954.    if ver == "false" then
  1955.     shell.run("")
  1956.    else
  1957.     shell.run("delete SimSoft/SappS/"..ver)
  1958.    
  1959.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  1960.     file.close()
  1961.    
  1962.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1963.     file.writeLine()
  1964.     file.close()
  1965.    
  1966.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1967.     file.writeLine()
  1968.     file.close()
  1969.    
  1970.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1971.     file.writeLine()
  1972.     file.close()
  1973.    
  1974.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1975.     file.writeLine()
  1976.     file.close()
  1977.    
  1978.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1979.     file.writeLine("n")
  1980.     file.close()
  1981.    
  1982.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  1983.     file.writeLine("false")
  1984.     file.close()
  1985.    
  1986.     sc = (sc-1)
  1987.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  1988.     file.writeLine(sc)
  1989.     file.close()
  1990.    
  1991.     --Schieben im Falls das x sc nicht letzte Nr war.
  1992.    
  1993.     sc = (sc+1)
  1994.    
  1995.     if n == sc then
  1996.      shell.run("")
  1997.     else
  1998.    
  1999.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  2000.      local fileData = {}
  2001.      local line = file.readLine()
  2002.      repeat
  2003.      table.insert(fileData,line)
  2004.      line = file.readLine()
  2005.      until line == nil
  2006.      file.close()
  2007.      
  2008.      a = fileData[1]
  2009.      b = n
  2010.      c = fileData[3]
  2011.      d = fileData[4]
  2012.      e = fileData[5]
  2013.      f = fileData[6]
  2014.      
  2015.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  2016.      file.close()
  2017.    
  2018.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2019.      file.writeLine()
  2020.      file.close()
  2021.    
  2022.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2023.      file.writeLine()
  2024.      file.close()
  2025.    
  2026.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2027.      file.writeLine()
  2028.      file.close()
  2029.    
  2030.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2031.      file.writeLine()
  2032.      file.close()
  2033.    
  2034.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2035.      file.writeLine("n")
  2036.      file.close()
  2037.    
  2038.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2039.      file.writeLine("false")
  2040.      file.close()
  2041.      
  2042.      
  2043.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  2044.      file.close()
  2045.    
  2046.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2047.      file.writeLine(a)
  2048.      file.close()
  2049.    
  2050.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2051.      file.writeLine(b)
  2052.      file.close()
  2053.    
  2054.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2055.      file.writeLine(c)
  2056.      file.close()
  2057.    
  2058.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2059.      file.writeLine(d)
  2060.      file.close()
  2061.    
  2062.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2063.      file.writeLine(e)
  2064.      file.close()
  2065.    
  2066.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2067.      file.writeLine(f)
  2068.      file.close()
  2069.     end
  2070.     break
  2071.    end
  2072.    
  2073.    -- 15
  2074.    
  2075.    elseif x >= 20 and x <= 34 and y == 9 then
  2076.    
  2077.    n = 15
  2078.  
  2079.    file = fs.open("SimSoft/Daten/SappS/"..n,"r")
  2080.    local fileData = {}
  2081.    local line = file.readLine()
  2082.    repeat
  2083.    table.insert(fileData,line)
  2084.    line = file.readLine()
  2085.    until line == nil
  2086.    file.close()
  2087.    ver = fileData[6]
  2088.    if ver == "false" then
  2089.     shell.run("")
  2090.    else
  2091.     shell.run("delete SimSoft/SappS/"..ver)
  2092.    
  2093.     local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  2094.     file.close()
  2095.    
  2096.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2097.     file.writeLine()
  2098.     file.close()
  2099.    
  2100.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2101.     file.writeLine()
  2102.     file.close()
  2103.    
  2104.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2105.     file.writeLine()
  2106.     file.close()
  2107.    
  2108.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2109.     file.writeLine()
  2110.     file.close()
  2111.    
  2112.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2113.     file.writeLine("n")
  2114.     file.close()
  2115.    
  2116.     local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2117.     file.writeLine("false")
  2118.     file.close()
  2119.    
  2120.     sc = (sc-1)
  2121.     local file = fs.open("SimSoft/Daten/SappS/A","w")
  2122.     file.writeLine(sc)
  2123.     file.close()
  2124.    
  2125.     --Schieben im Falls das x sc nicht letzte Nr war.
  2126.    
  2127.     sc = (sc+1)
  2128.    
  2129.     if n == sc then
  2130.      shell.run("")
  2131.     else
  2132.    
  2133.      file = fs.open("SimSoft/Daten/SappS/"..sc,"r")
  2134.      local fileData = {}
  2135.      local line = file.readLine()
  2136.      repeat
  2137.      table.insert(fileData,line)
  2138.      line = file.readLine()
  2139.      until line == nil
  2140.      file.close()
  2141.      
  2142.      a = fileData[1]
  2143.      b = n
  2144.      c = fileData[3]
  2145.      d = fileData[4]
  2146.      e = fileData[5]
  2147.      f = fileData[6]
  2148.      
  2149.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"w")
  2150.      file.close()
  2151.    
  2152.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2153.      file.writeLine()
  2154.      file.close()
  2155.    
  2156.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2157.      file.writeLine()
  2158.      file.close()
  2159.    
  2160.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2161.      file.writeLine()
  2162.      file.close()
  2163.    
  2164.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2165.      file.writeLine()
  2166.      file.close()
  2167.    
  2168.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2169.      file.writeLine("n")
  2170.      file.close()
  2171.    
  2172.      local file = fs.open("SimSoft/Daten/SappS/"..sc,"a")
  2173.      file.writeLine("false")
  2174.      file.close()
  2175.      
  2176.      
  2177.      local file = fs.open("SimSoft/Daten/SappS/"..n,"w")
  2178.      file.close()
  2179.    
  2180.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2181.      file.writeLine(a)
  2182.      file.close()
  2183.    
  2184.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2185.      file.writeLine(b)
  2186.      file.close()
  2187.    
  2188.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2189.      file.writeLine(c)
  2190.      file.close()
  2191.    
  2192.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2193.      file.writeLine(d)
  2194.      file.close()
  2195.    
  2196.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2197.      file.writeLine(e)
  2198.      file.close()
  2199.    
  2200.      local file = fs.open("SimSoft/Daten/SappS/"..n,"a")
  2201.      file.writeLine(f)
  2202.      file.close()
  2203.     end
  2204.     break
  2205.    end
  2206.  
  2207.   w, h = term.getSize()
  2208.   h = (h-1)
  2209.   elseif x >= 3 and x <= 9 and y == h then
  2210.    break
  2211.    
  2212.   end
  2213.  end
  2214. end
  2215.  
  2216. else
  2217.  CP(2,18)
  2218.  BC(128)
  2219.  TC(16384)
  2220.  print("You are not a Admin")
  2221.  sleep(4)
  2222. end
  2223.  
  2224.  
  2225. --Ende
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