I am adding a function to my scripting language so that the program will wait . . . Is there a function call or maybe some API to make a program stop execution for a certain amount of time?