Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- counterFile = fs.open("counter", "r")
- fileContent = counterFile.readAll()
- if fileContent == "1" then
- print("F1-F2")
- sleep(0.3)
- shell.run("F1-F2")
- elseif fileContent == "3" then
- print("F3-F2")
- sleep(0.3)
- shell.run("F3-F2")
- elseif fileContent == "4" then
- print("F4-F2")
- sleep(0.3)
- shell.run("F4-F2")
- else
- print("run startup")
- sleep(0.2)
- shell.run("startup")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement