Modules/Squirrel/GetFileList
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with "{{Module_Info| name = lu_GetFileList | type = Squirrel module | version = 1.0 | author = Thijn | platform = Windows, Linux |...") |
Revision as of 17:36, 10 November 2013
lu_GetFileList | |
Type | Squirrel module |
Version | 1.0 |
Author | Thijn |
Platform | Windows, Linux |
Website | LU Forum Thread |
Download link | Windows Binary |
Contents |
lu_GetFileList is a third-party, community module which provides Squirrel functions to get list of the files of given extension.
Installation
Make sure you have the lu_GetFileList.dll or lu_GetFileList.so file in your Modules folder.
Example Usage
function onScriptLoad ( ) { LoadModule ( "lu_GetFileList" ); local list = GetFileList ( "Logs", "log" ); for( local i = 0; i < list.len(); i++ ) { print ( list[i] ); } return; }
Version History
- 1.0 - Initial release.