Add a command or function which allows the script execution to be paused for a given amount of time. Optionally, allow a function to be passed as a parameter, which would then be run during the time that the script execution is paused.
Syntax for the command could look something like this:
sleep <time> [callback]
Possible return values would either be nothing, or return values similar to
pcall if pausing for the given time was not possible.
Originally suggested here.