I am unfortunately not familiar with the use of hash tables at all, and need an efficient method to go through every item on the table (it's rather large) and delete specific data items, and if the one deleted was the last item for that entry, delete the entry itself (if that isn't handled automatically by mIRC). Anyone able to help with this?

I got a script at one point, that keeps track of all nicks a person with a specific ident and isp uses, but in on ustream, a lot of people end up joining a ustreamer-#####, and rejoining with a new one using a randomized number. At this point many of the lines are so long I'm getting an error message.
* /hadd: line too long