--SappS werden auf "LiveSystem" geprueft anz = 1 if anz == 1 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink1 = fileData[8] if ausgabe == "t" then function LIVE1() shell.run("SimSoft/SappS/"..LiveLink1) end else function LIVE1() shell.run("") end end end if anz == 2 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink2 = fileData[8] if ausgabe == "t" then function LIVE2() shell.run("SimSoft/SappS/"..LiveLink2) end else function LIVE2() shell.run("") end end end if anz == 3 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink3 = fileData[8] if ausgabe == "t" then function LIVE3() shell.run("SimSoft/SappS/"..LiveLink3) end else function LIVE3() shell.run("") end end end if anz == 4 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink4 = fileData[8] if ausgabe == "t" then function LIVE4() shell.run("SimSoft/SappS/"..LiveLink4) end else function LIVE4() shell.run("") end end end if anz == 5 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink5 = fileData[8] if ausgabe == "t" then function LIVE5() shell.run("SimSoft/SappS/"..LiveLink5) end else function LIVE5() shell.run("") end end end if anz == 6 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink6 = fileData[8] if ausgabe == "t" then function LIVE6() shell.run("SimSoft/SappS/"..LiveLink6) end else function LIVE6() shell.run("") end end end if anz == 7 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink7 = fileData[8] if ausgabe == "t" then function LIVE7() shell.run("SimSoft/SappS/"..LiveLink7) end else function LIVE7() shell.run("") end end end if anz == 8 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink8 = fileData[8] if ausgabe == "t" then function LIVE8() shell.run("SimSoft/SappS/"..LiveLink8) end else function LIVE8() shell.run("") end end end if anz == 9 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink9 = fileData[8] if ausgabe == "t" then function LIVE9() shell.run("SimSoft/SappS/"..LiveLink9) end else function LIVE9() shell.run("") end end end if anz == 10 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink10 = fileData[8] if ausgabe == "t" then function LIVE10() shell.run("SimSoft/SappS/"..LiveLink10) end else function LIVE10() shell.run("") end end end if anz == 11 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink11 = fileData[8] if ausgabe == "t" then function LIVE11() shell.run("SimSoft/SappS/"..LiveLink11) end else function LIVE11() shell.run("") end end end if anz == 12 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink12 = fileData[8] if ausgabe == "t" then function LIVE12() shell.run("SimSoft/SappS/"..LiveLink12) end else function LIVE12() shell.run("") end end end if anz == 13 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink13 = fileData[8] if ausgabe == "t" then function LIVE13() shell.run("SimSoft/SappS/"..LiveLink13) end else function LIVE13() shell.run("") end end end if anz == 14 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink14 = fileData[8] if ausgabe == "t" then function LIVE14() shell.run("SimSoft/SappS/"..LiveLink14) end else function LIVE14() shell.run("") end end end if anz == 15 then file = fs.open("SimSoft/Daten/SappS/"..anz,"r") local fileData = {} local line = file.readLine() repeat table.insert(fileData,line) line = file.readLine() until line == nil file.close() ausgabe = fileData[7] LiveLink15 = fileData[8] if ausgabe == "t" then function LIVE15() shell.run("SimSoft/SappS/"..LiveLink15) end else function LIVE15() shell.run("") end end end parallel.waitForAll(LIVE1, LIVE2, LIVE3, LIVE4, LIVE5, LIVE6, LIVE7, LIVE8, LIVE9, LIVE10, LIVE11, LIVE12, LIVE13, LIVE14, LIVE15)