Revision [371]

This is an old revision of settimer made by ScripterAlex on 2009-03-17 23:42:01.
 
Usage

Syntax: settimer(int);

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

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki