HolyLib Wiki

Adjust

  boolean systimer.Adjust( string name, number delay, number reps = nil, function callback = nil )

Description

Adjusts the timer with the given name with the new values.
Returns true if the timer was successfully adjusted.

Arguments

1string name
name of timer
2number delay
delay in seconds
3number reps = nil
4function callback = nil

Returns

1boolean success
Returns whether the adjustment was successful or not.