You could do it with a hash table, however that would mean that mIRC would use loads of memory if there are a lot of quotes.