Hi Tobby,
why do you need such a function?
There is the Sleep() function in REXLANG, but it is highly recommended not to use it. You should write your REXLANG code so that it executes as fast as possible. For details see REXLANG documentation.
Best regards,
Jaroslav