Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Lösche das Programm "1" vom Computer, falls es existiert
- if fs.exists("1") then
- fs.delete("1")
- print("Programm '1' gelöscht")
- else
- print("Programm '1' nicht gefunden")
- end
- -- Lade das Programm '1' von Pastebin herunter
- local pastebinCode = "<pastebinkürzel>" -- Ersetze das mit deinem Pastebin-Kürzel
- local downloadSuccess = shell.run("pastebin get " .. pastebinCode .. " 1")
- -- Überprüfe, ob der Download erfolgreich war
- if downloadSuccess then
- print("Programm '1' erfolgreich von Pastebin geladen")
- else
- print("Fehler beim Herunterladen des Programms von Pastebin")
- end
Add Comment
Please, Sign In to add comment