You are here: home » gemus_script_reference » functions » wait This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. Back to [[.:|Script Function Reference]] ====== Wait() ====== The Wait() function pauses the running script for a specified number of milliseconds. ===== Syntax ===== Wait(ms) ===== Arguments ===== ^ Argument ^ Required ^ Description ^ | //ms// | Yes | The number of milliseconds to wait for. Any [[..:environment_variables|script environment variables]] found in //ms// will be replaced by their actual values when the script is executed. If the resulting argument value is not an integer number, 0 will be used and so waiting will be skipped. | \\ ===== Examples ===== Wait(2000) Wait(%wait_value%) ===== Remarks ===== Use this function with care: if you specify //ms// as 1000000 then the script will wait for 15 minutes, with no way of aborting! ===== See Also ===== * [[.:|Script Function Reference]] Trace: article discussion show pagesource old revisions navigation Home Login search Recent changes monobook template for DokuWiki DokuWiki Valid XHTML gemus_script_reference/functions/wait.txt · Last modified: 2015/05/19 19:48 (external edit) Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2