--[[ @title Timer @param a Stunden @default a 0 @param b Minuten @default b 0 --]] function date() yyyy = (get_time("Y")) mm = (get_time("M")) if (tonumber(mm)<10) then mm = "0"..mm end dd = (get_time("D")) if (tonumber(dd)<10) then dd = "0"..dd end ddmmyyyy = dd .. "." .. mm .. "." .. yyyy end function time() hh = (get_time("h")) if (tonumber(hh)<10) then hh = "0"..hh end mi = (get_time("m")) if (tonumber(mi)<10) then mi = "0"..mi end ss = (get_time("s")) if (tonumber(ss)<10) then ss = "0"..ss end hhmmss = hh .. ":" .. mi .. ":" .. ss end --check HH = a if (tonumber(HH)<10) then HH = "0"..HH end MI = b if (tonumber(MI)<10) then MI = "0"..MI end st = HH..":"..MI..":00" repeat sleep ( 1000 ) cls() date() time() print ( "Start Time: "..st ) print ( "Act. Time: "..hhmmss ) print ( "Date: "..ddmmyyyy ) until st == hhmmss shoot() sleep ( 1000 ) print ( "ready" )