Description of MUSHclient world function: world.GetScriptTime
Name | GetScriptTime |
---|---|
Type | Method |
Summary | Returns the amount of time spent in script routines |
Prototype | double GetScriptTime();
|
Description | Returns the amount of time spent, in seconds compiling and executing scripts. This is a "double" type, which means that it can contain fractions of a second. |
VBscript example |
|
Jscript example |
|
PerlScript example |
|
Python example |
|
Lua example |
|
Returns | The number of seconds, as a "double" spent executing scripts. The current script routine will not be counted, as it has not completed execution yet. Scripts which have errors are not counted in the time. |
See also ...
Function | Description |
---|---|
GetConnectDuration | Returns the number of seconds this world has been connected. |
GetLineCount | Gets count of lines received |
GetReceivedBytes | Returns the number of bytes received from the world |
GetSentBytes | Returns the number of bytes sent to the world |
Enter a word or phrase in the box below to narrow the list down to those that match.
The function name, prototype, summary, and description are searched.
Leave blank to show all functions.
Many functions return a "code" which indicates the success or otherwise of the function.
You can view a list of the return codes
The "prototype" part of each function description lists exactly how the function is called (what arguments, if any, to pass to it).
You can view a list of the data types used in function prototypes
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.