I saw a problem with $ini.

A have a ini file with a following syntaxe :

[3000]
truc=thing
[3001]
....

I made an automatic system which look at the name of the section and the name of the item.

For the section, I use $ini(file.ini,x)
For the item, I use $ini(file.ini,$ini(file.ini,x),y)
x and y are numbers with 0 for the total, obviously.

But, if the section is only a number, I have in return $null while with a name section avec letters, I have the number of items.

I know how to correct now, but is it possible to use numerical sections with $ini ?

I forget to say I use mIRC 6.16 on XP home

Last edited by dunkelzahn; 28/11/05 10:40 AM.