Even though the UI versions may be different, causing the screens to look a little different, the process is still the same. The first couple of examples in the tutorial cover your scenario. However, you could start with an even more basic one like below.
Inputs
Triggers
MyMotion is tripped
Schedules
MySchedule: Start 23:30 Stop 05:30
Conditions
LightsOn MyMotion AND MySchedule
LightsOff LightsOn > 3
Actions
LightsOn Turn on the light
LightsOff Turn off the light
If you are already in the time window of the schedule, when you create the PLEG, it will seem not to work until you click run now on the schedule to make it true.
It seems to me that everyone links to this tutorial which is only available to registeret users of the old forum to which one can no longer sign up.
Did I miss something or is this a real case of a Catch 22.
Is there anyone who could take on the task to move it to this forum?