Usage
Syntax: settimer(float);
Explanation
Waits the time given (in seconds) before invoking the onTimeout event.
Example
function onCreated() { settimer(5); } function onTimeout() { echo("Hello world!"); }
... Will output "Hello world!" in RC chat (serverside) or the F2 window (clientside) after waiting 5 seconds.
Categories
CategoryFunctionClientside
CategoryFunctionServerside