Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- counterFile = fs.open("counter", "r")
- fileContent = counterFile.readAll()
- if fileContent == "2" then
- print("F2-F1")
- sleep(0.3)
- shell.run("F2-F1")
- elseif fileContent == "3" then
- print("F3-F1")
- sleep(0.3)
- shell.run("F3-F1")
- elseif fileContent == "4" then
- print("F4-F1")
- sleep(0.3)
- shell.run("F4-F1")
- else
- print("run startup")
- sleep(0.2)
- shell.run("startup")
- end
RAW Paste Data