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 |...") |
|||
Line 6: | Line 6: | ||
platform = Windows, Linux | | platform = Windows, Linux | | ||
website = [http://forum.liberty-unleashed.co.uk/index.php/topic,1857.msg10538.html#msg10538 LU Forum Thread] | | website = [http://forum.liberty-unleashed.co.uk/index.php/topic,1857.msg10538.html#msg10538 LU Forum Thread] | | ||
− | download = [https://mega.co.nz/#!xsllwLZK!Uq46wTXV9dnZqLsv3t3cEUhovDZNHv6Xm56nn4NEwFA | + | download = [https://dl.dropboxusercontent.com/u/15204202/lu_GetFileList_win32.zip Windows Binary] [https://mega.co.nz/#!xsllwLZK!Uq46wTXV9dnZqLsv3t3cEUhovDZNHv6Xm56nn4NEwFA ( Mirror )] |
+ | [https://dl.dropboxusercontent.com/u/15204202/lu_GetFileList_linux.zip Linux Binary] [https://mega.co.nz/#!8oE2GB7Y!IC6EsHVbdae1bGJJ2CwxeWod-857TUJ9zKMSpKHhJJs ( Mirror )] | ||
− | [https:// | + | [https://dl.dropboxusercontent.com/u/15204202/lu_GetFileList_src.zip Source Code] [https://mega.co.nz/#!R0FiXQya!MNY8MiX8_ijRHkZMzzLmaR5cVvwioaAsmOYQOLw2Imw ( Mirror )] | |
− | + | ||
− | [https://mega.co.nz/#!R0FiXQya!MNY8MiX8_ijRHkZMzzLmaR5cVvwioaAsmOYQOLw2Imw | + | |
}} | }} | ||
Latest revision as of 17:42, 10 November 2013
lu_GetFileList | |
Type | Squirrel module |
Version | 1.0 |
Author | Thijn |
Platform | Windows, Linux |
Website | LU Forum Thread |
Download link | Windows Binary ( Mirror ) |
Contents |
lu_GetFileList is a third-party, community module which provides Squirrel functions to get list of the files of given extension.
[edit] Installation
Make sure you have the lu_GetFileList.dll or lu_GetFileList.so file in your Modules folder.
[edit] Example Usage
function onScriptLoad ( ) { LoadModule ( "lu_GetFileList" ); local list = GetFileList ( "Logs", "log" ); for( local i = 0; i < list.len(); i++ ) { print ( list[i] ); } return; }
[edit] Version History
- 1.0 - Initial release.