local f = CreateFrame("Frame")f:SetScript("OnEvent", ToggleCalendar)f:RegisterEvent("PLAYER_ENTERING_WORLD")