ISInterface:GetScriptRuntime

From Lavish Software Wiki
Revision as of 21:09, 2 September 2005 by Beefalo (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Syntax

  • unsigned long GetScriptRuntime(char *ScriptName)

Purpose

Retrieves the number of milliseconds a given script has been running

Usage

Parameters

  • char *ScriptName
[in] Name of the script

Return Value

  • unsigned long
The number of milliseconds the script has been running, or 0 if the script is not running

Examples

unsigned long Timer;
Timer=pISInterface->GetScriptRuntime("test");

See Also