Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Zeitschalt Uhr --
- tro = true
- while tro do
- local time = os.time()
- shell.run("clear")
- print(time)
- os.sleep(0.0001)
- if time == 18.6 then
- shell.run("clear")
- print("Licht an")
- shell.run("redset bottom true")
- os.sleep(2)
- end
- if time == 7.0 then
- shell.run("clear")
- print("Licht aus")
- shell.run("redset bottom false")
- os.sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement