I came up with the following
Code: Select all
init python:
import time
year, month, day, hour, minute, second, dow, doy, dst = time.localtime()
screen xmas_check():
modal False
if month is 12 and day is 24 and hour is 20:
textbutton("It's Christmas!") action NullAction
label start:
e "Put this where you want the menu."
show screen xmas_check
e "Did it work?"
return
Does anybody know what I should do to. Get the.desired behaviour?