Set a timer by script

Hi all!
As thread's post said I need to setup a new game timer by script.
Is that possible?

Thanks a lot
do you mean two timers?
One by the event and another by script?

If not, you can call the timer with this:
$gameTimer.start(frames * 60)
This will multiply the frames by 60, turning them in seconds.
Just put the number you want in frames.
Thank you very much!
It worked!

Just to know: is possible change the timer style? Using the system window skyn.

I'm developing a plugin to set custom timers (position, text etc) all by command and to give it a frame will be nice!

TY
Thank you very much!
It worked!

Just to know: is possible change the timer style? Using the system window skyn.

I'm developing a plugin to set custom timers (position, text etc) all by command and to give it a frame will be nice!

TY
It is possible. To add a frame like a window, you will have to create a window for him. Knowing how to code, you can do everything.
If you check my page in itch io, you will see my plugin that make changes in the timer style/visual

Original thread: https://forums.rpgmakerweb.com/threads/set-a-timer-by-script.120490/