The setdelay command sets the delay between consecutive instructions when executing a script.
The delay is given in milliseconds.
Use the command when executing commands from a script from interface client. Give the command before the script is executed.
setdelay 500