function X takes nothing returns nothing
if GetExpiredTimer() == null then
call BJDebugMsg("null")
else
call BJDebugMsg("not null")
endif
endfunction
function Init takes nothing returns nothing
local trigger t = CreateTrigger()
call TriggerRegisterTimerEvent(t, 3, false)
call TriggerAddAction(t, function X)
endfunction