GetModuleInfo: Difference between revisions
Jump to navigation
Jump to search
Cazomino05 (talk | contribs) m (Added getModuleInfo) |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Server function}} | {{Server function}} | ||
This function returns information about the specified [[Modules|module]]. | |||
This function returns information about the specified module. | |||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
string getModuleInfo ( string moduleName, string information ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''moduleName:''' A string containing the module you wish to get information of e.g. "hashing.dll" | *'''moduleName:''' A string containing the module you wish to get information of e.g. "hashing.dll" | ||
*''' | *'''information:''' A string containing the information you wish to retrieve. Currently supported parametres are | ||
**'''Version''' | |||
**'''Name''' | |||
**'''Author''' | |||
===Returns=== | ===Returns=== | ||
Returns a [[string]] with the requested information about the module. If invalid names for parameters are passed, it will return ''false''. | |||
Returns a string with the requested information about the module. If | |||
==Example== | ==Example== | ||
< | <syntaxhighlight lang="lua">--TODO</syntaxhighlight> | ||
==See Also== | ==See Also== | ||
{{Module_functions}} | {{Module_functions}} |
Revision as of 18:51, 18 May 2009
This function returns information about the specified module.
Syntax
string getModuleInfo ( string moduleName, string information )
Required Arguments
- moduleName: A string containing the module you wish to get information of e.g. "hashing.dll"
- information: A string containing the information you wish to retrieve. Currently supported parametres are
- Version
- Name
- Author
Returns
Returns a string with the requested information about the module. If invalid names for parameters are passed, it will return false.
Example
--TODO
See Also