An ini file has the following format:
[section]
item=data
item1=data1
[section1]
item=data
item1=data1
[etc]
It can support multiple sections.
But it still all depend on how you want to store the informations, creating a lot of ini files might be undesirable. If you are saying one user can create more than one character 'per account', you might want to create one ini file that will list basics informations about accounts, like if they are logged or not, and the different characters they have, then, you'd have one more ini file per account, listing all the characters and theirs stats per account, avoiding one ini file per character per account. I still don't know what you mean but if only one character can be created per account, you only need one ini file really.
Example for multiple characters per account:
accounts.ini would be like:
[Ouims]
logged=$true
otherinformation=some informations
characters_list=monster1 monster2 monster3
[VII]
logged=$false
otherinformation=some informations
characters_list=monster74 wizard42
then you'd have a file Ouims_characters.ini:
[monster1]
attack=12
life=30
defense=5
othersstats=20
[monster2]
attack=15
etc...
and a file VII.ini with the same kind of things.
if I can use a variable or identifier with a .ini file.
Again i'm not sure about what you mean but the following is correct:
on *:notice:!login & &:?:{
if ($ini(accounts.ini,$2)) && ($readini(accounts.ini,n,$2,password) == $md5($3-)) {
writeini accounts.ini $2 logged $true
notice $nick you are now logged
}
}
Where that code would handle the login part to your game.