I\'ve gotta ask this. Since its the most obvious one...
Why store all these to an ini....
Just loop through the $ibl to find $ibl($chan,x).by where the by address is you... add that address to your hash, and any that you set to the hash as well. Then, you can just search the hash anytime someone tries to do the ban/unbans...
You can also use this same technique to expire old bans everytime you join your channel.