Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Lua Timer made by dom2mom
- local time = os.date("*t")
- delay = PUT DELAY HERE
- timer = time.PUT HOUR, MIN, OR SEC HERE
- print (string.format("The start time is %d:%d:%d",time.hour, time.min, time.sec))
- local isTimerUp = false
- while isTimerUp == false do
- time = os.date("*t")
- if time.PUT HOUR, MIN, OR SEC HERE == timer + delay then
- print (string.format("The end time is %d:%d:%d",time.hour, time.min, time.sec))
- isTimerUp = true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment