Forcing a player to sleep at night

I am using a day/night cycle script ( https://forums.rpgmakerweb.com/index.php?threads/basic-game-time-night-day.1079/ ). In it, you can use a conditional branch and select the script option to check what time of day it is within an event. What I want to do is for the game to use this so that every time that it becomes night, this conditional branch forces the player to go to sleep. I don't want this to be something the player has to activate, ie. go to a specific section and activate an event that then checks for the time of day using this conditional branch. Rather, I want the game to continuously be checking for this on its own so that the player is forced to sleep. Is there a way I can do this?
I don't use this script, I made my system by events, but looking at the instructions it seems that it can be done using a common event. Just put your conditional branch in there and set it to parallel process. Don't forget to put a wait time too, because you don't need to check this 60 times for second. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/forcing-a-player-to-sleep-at-night.121338/