How to have a timer in my game?

Hi, so I don't know if this is made or watevz since I'm new here (and to rpgmvxace), I was wondering does anyone have the Timer scrip? I really need it for the horror game I'm making, that will be presented in school ._. help is really much appreciated... (idk if its on the right genre too sooo) and... can someone also link me some flashlight scrips? I don't know how so. Thanks very much!
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
Well you don't need a script for either type of timer(a visable countdown timer or even a behind the scenes timer based on gameplay time. hell you can even create a events based on char steps, opposed to a actual timer).

If you want a standard countdown timer, just use the control timer event command(if you want it to continue when changing maps, just set a variable to remember the timer). 

If you want a invisible timer, set a variable to record the playtime, then you can make a event with a condition branch using that Variable+ or whatnot  how much time you want the limit to be.the limit.

As for the whole spot light thing, that is everyone's blasted problem in RPG maker. There may or may not be a script for such(if there is, It's not widely known), but most people just resort to making a black picture(with a clear midd section), using the show picture command, and having it centered on the char.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-have-a-timer-in-my-game.24865/