Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ProgramName = "aff"
- crashcount = 0
- function crash()
- term.setTextColor(colors.yellow)
- write("Le programme a crash: ")
- term.setTextColor(colors.red)
- write(crashcount)
- term.setTextColor(colors.yellow)
- print(" fois.")
- end
- while true do
- crash()
- term.setTextColor(colors.green)
- print("Lancement du Programme ...")
- shell.run(ProgramName)
- crashcount = crashcount + 1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement