To do so, use condition type:"date" and define a range using min and max (or z if you want a specific day instead of a range of days). For example, z:0 would mean the 1st day of each year (0 <-> 1 because of how we count in computer science). Here's a sample code that triggers a notification:
Code: Select all
[
{
"id":"$notify_test01","type":"notification","text":"I AM SO <..>","frames":[{"steal":"$anim_people_source01","frame":0}]
},
{
"id":"$invisible building","type":"decoration","hidden":true,"width":1,"height":1,"frames":[null],
"random fun":[
{
"condition": {
"type": "date",
"z": 7 // 8th day of the year
},
"actions": [
{
"type": "notify",
"id": "$notify_test01"
}
]
}
]
}
]