I'm trying to create a timer using SharpSK that will constantly run, the problem is that I need a way to restart the timer after a server restart with the time remaining on the timer at the moment of the server restart.
I'm currently using local variables to set the duration and the type of time because it doesn't like regular variables- which, in reality, is what I want to use.
I'm currently using local variables to set the duration and the type of time because it doesn't like regular variables- which, in reality, is what I want to use.
code_language.skript:
options:
interval: 10
type: seconds
on timer complete:
if event-string is "test":
wait 1 tick
create timer "test" for {@interval} {@type}