how do I get playtime to compare with a value? (VX Ace)

I want to do it like: (sorry, I'm very beginner in it and my language is not english) :'3

if playtime >= 86400 (24 hours in seconds)
RM itself does not have a clock for playtime.

You can either create a clock of your own (there are scripts for time systems available), or you can use a value like the steps taken by the player.

In all cases, you'll first set a variable by control variables and then use a conditional branch to compare the current value with the wanted limit.
You can use either a script call to return the value of play time in seconds :

# Get Play Time in Seconds$game_system.playtimeOr an event call :
play-time.png
Graphics.frame_count / Graphics.frame_rate will give you the playtime in seconds.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-get-playtime-to-compare-with-a-value-vx-ace.40318/