From Minecraft Wiki
|This page contains content on features that may be included in the next update.
These features have appeared in development versions, but the full update containing these features has not been released yet.
Delays the execution of a function.
schedule function <function: string> <time: int>
- Specifies the function to delay.
- Specifies the amount of time to delay the function by.
- Fails if the arguments are not specified correctly or the function does not exist.
- On success, executes the function after specified amount of time.