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
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki