Modules/Squirrel/lu ini
From Liberty Unleashed Wiki
lu_ini | |
Type | Squirrel module |
Version | 1.0 |
Author | Liberty Unleashed Team |
Platform | Windows/Linux |
Website | Liberty Unleashed |
Download link | Included with server |
Contents |
lu_ini is an official module which provides Squirrel functions to modify/read .ini files. The module is included with the server.
Installation
Make sure you have the lu_ini.dll/lu_ini.so file in your Modules folder. After that add the following code under the event onScriptLoad of the script:
LoadModule( "lu_ini" );
Functions
These functions are provided by the official module lu_ini.
- ClearIni
- CountIniSection
- DeleteIniSection
- ReadIniBool
- ReadIniFloat
- ReadIniIndex
- ReadIniInteger
- ReadIniString
- RemoveIniValue
- WriteIniBool
- WriteIniFloat
- WriteIniInteger
- WriteIniString
Version History
- 1.0 - Initial release.