INI Help - 10/10/08 01:44 AM
How do I search though a specific INI file (let's say for example 'global.ini') for the specified value and return every item that contains that value? Example:
global.ini contains this:
If I type !search 23, I want the script look inside global.ini and return all items with a value of '23'. So if I typed this, the script should return:
Yellow
Purple
Orange
Any help is appreciated. Thanks.
global.ini contains this:
Code:
[general] yellow=23 green=89 purple=23 orange=23 red=19
If I type !search 23, I want the script look inside global.ini and return all items with a value of '23'. So if I typed this, the script should return:
Yellow
Purple
Orange
Any help is appreciated. Thanks.