Delays the execution of a function.
schedule function <function: string> <time: int>
- Specifies the function to delay.
- Specifies the amount of time in gameticks 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.
Scheduling the same function before it is successfully ran will overwrite 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.