Commands/schedule

Delays the execution of a function.


 * Syntax




 * Arguments


 * Specify the function to be run.
 * Specify the function to be run.


 * Specify the delay time in days, seconds, or ticks (default if no specifier).
 * Follows the form integer + character ( | | | specifies two in-game days.
 * Example:  or   specifies 250 ticks.
 * Example:  or   specifies 250 ticks.


 * Result


 * Fails if the arguments are of invalid syntax or the function does not exist within a top-level folder in.
 * On success, executes the function after specified amount of time passes.


 * Notes


 * Even when using the  command, the scheduled function always runs as the Server.
 * Scheduling the same function before it is successfully ran overwrites the previous schedule. If you schedule a function to happen in 5 seconds, then schedule the same function again before the 5 seconds are up, the new schedule will be the one that happens.

History
Befehl/schedule Comandos/schedule