A simple text file is not how you should be checking subscribers; use a hash table. If this list is composed by mIRC itself use a hash table to begin with. If this list is composed by another source parse it into a hash table first for future use.
Is this a JSON file? JSON parsers already exist that you can use to get these nicks into a hash table.