Day-night based events

Hi! I'm using LTN Day and Night Plugin, and i have kind of a problem using the day-night cycle. I wanted to make that when time gets to 22:00 (night time), certain events/npcs appear or disappear in a certain map, until 7:00 (daytime) comes back. But this would require using a complement command call, not a script call, and this is something that doesn't appear in the conditional derivation option.

Also, i hadn't found any form of making a script call like: ["if time is 22:00", then X/ "if time is 7:00", then Y], wich is what i'm needing right now

Is there any way of fixing this? Thanks in advance.
TE Variables will let you put the current time into variables so you can then use them in a conditional branch, or TE Timer lets you define common events to run on certain time intervals, which would also allow you to do this.
it is much more simpler, as long as your plugin sets the hour of the day into a regular variable.

Simply make the events with three pages, one for the hours 0-7, one for 7 to 22 and the third one for 22-24. It needs to be done this way because of how the variable conditions work.

Then, the first page should have no conditions, the second page (for 7-22) should have the condition "Variable Hours greater or equal 7" and the last page should have the condition "variable Hours greater or equal 22".

As a result the pages will switch depending on the time variable for hours.
TE Variables will let you put the current time into variables so you can then use them in a conditional branch, or TE Timer lets you define common events to run on certain time intervals, which would also allow you to do this.

it is much more simpler, as long as your plugin sets the hour of the day into a regular variable.

Simply make the events with three pages, one for the hours 0-7, one for 7 to 22 and the third one for 22-24. It needs to be done this way because of how the variable conditions work.

Then, the first page should have no conditions, the second page (for 7-22) should have the condition "Variable Hours greater or equal 7" and the last page should have the condition "variable Hours greater or equal 22".

As a result the pages will switch depending on the time variable for hours.

Welp, thank you both! I managed to do that using the TE Variables (i tried the Timer first, but it was waaaaay more complex and tedious) and seems to work totally right! Now i can add way more life and diversity to my project, i'm very grateful ^^!!

Original thread: https://forums.rpgmakerweb.com/threads/day-night-based-events.76449/