mIRC Homepage
Posted By: TranceWizard $ini() PLZ help! Im getting Crazy! - 17/06/03 12:56 AM
im using .INIs as my database for my scripts, but i got a BIG problem! i cant effectively use Lists when i need to add "[" and "]" to my entries...

The problem... is that $ini doesnt return "[" and "]" that i add to the ini with the WRITEINI commad, it returns me what it reads on the file (~)... i cant solve my problem! plz help!

I think I post this on the write section!
Thanks! cool
Posted By: Raccoon Re: $ini() PLZ help! Im getting Crazy! - 17/06/03 01:42 AM
Yes, there are many characters that cannot be used in INI sections, items or data. These include most all 'control characters' (characters with ASCII values between 0 and 31), as well as special characters [ ] = ; and many others. Some of these characters can be used as long as they're not the first character of the section or item name, but it's best to simply avoid them.

Depending on your unique situation, I might recommend making the transition over to hash tables... especially if the data is going to be queried often and speed is a factor.

- Raccoon
Posted By: TranceWizard Re: $ini() PLZ help! Im getting Crazy! - 17/06/03 02:14 AM
Im using it for nickname and channel auto identification! :P
Ill try that! thanks! smile
© mIRC Discussion Forums