lol, nvm, I feel stupid now. Just ignore my entire previous post. :P

The elseif isn't nick specific (it should check when the last IP is being matched for the same nick). Right now it lists matches for the first nick, displays the error, then halts leaving out the rest of the matches.