local function onTimerMin(_actID) local curhour = tonumber(os.date("%H")) local curmin = tonumber(os.date("%M")) if Ganenxianling_open == 1 then if curhour == 20 and curmin == 30 and (longshenxianlingId == nil or longshenxianlingId == 0) then ganenjieshuaxin() elseif curhour == 21 and curmin == 10 and longshenxianlingId ~= nil then local MsgID2 = msg.BeginMsgEvent() msg.AddMsgEvent(MsgID2, 102, 206916) msg.DispatchBroadcast(MsgID2, -1, -1, -1) elseif curhour == 21 and curmin == 30 and longshenxianlingId ~= nil then ganenjieshanchu() end end end return { onTimerMin = onTimerMin, }