The inifile contains as sections (ie in the [ ] bit) the text to be matched in a highlight script. In the rest of the section is settings for what to do in the event of a match - colour, sound etc.
I tried initially loadign the ini file as a hash, just to see what it would look like, and it failed. I then downloaded mr_foot's Hash Sandwich
and this loaded the ini ok. I then have a hash table with all of the section titles as [ ] entires and a jumble of the other text in there all mixed up, with some item=value as a hash value and some as data.
I think I probably would benefit from loading it into hash genius, seeing as its a highlight script and so is being called on text/action/notice events and currently it is reading the ini every time.
Edit: I worked out why mirc itself wasn't loading the table. Needless to say, I was being a muppet.