Modules/Squirrel/GetFileList

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(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 Windows Binary]
+
   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://mega.co.nz/#!8oE2GB7Y!IC6EsHVbdae1bGJJ2CwxeWod-857TUJ9zKMSpKHhJJs Linux Binary]
+
[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 Source Code] |
+
 
}}
 
}}
  

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 )

Linux Binary ( Mirror )

Source Code ( 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

  1. function onScriptLoad ( ) {
  2.  
  3. LoadModule ( "lu_GetFileList" );
  4. local list = GetFileList ( "Logs", "log" );
  5.  
  6. for( local i = 0; i < list.len(); i++ )
  7. {
  8. print ( list[i] );
  9. }
  10.  
  11. return;
  12. }

[edit] Version History

  • 1.0 - Initial release.
Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox