'Gets messages out of a response
@param response: The parsed IRC messages of the response, as returned
by L{IRCUserTests.response}
@param messageType: The string type of the desired messages.
@return: An iterator which yields 2-tuples of C{(index, ircMessage)}'

def scanResponse(self, response, messageType):

    for (n, message) in enumerate(response):
        if (message[1] == messageType):
            (yield (n, message))
