def multiparse(
    text         = None,
    parsers      = [parse],
    help_message = None
    ):
    """
    Parse input text by looping over a list of multiple parsers. If one trigger
    is triggered, return the value returned by that trigger, if multiple
    triggers are triggered, return a list of the values returned by those
    triggers. If no triggers are triggered, return False or an optional help
    message.
    """
    responses = []
    for _parser in parsers:
        response = _parser(text = text)
        if response is not False:
            responses.extend(response if response is list else [response])
    if not any(responses):
        if help_message:
            return help_message
        else:
            return False
    else:
        if len(responses) > 1:
            return responses
        else:
            return responses[0]
def multiparse ( text = None , parsers = [ parse ] , help_message = None ) : responses = [ ] for _parser in parsers : response = _parser ( text = text ) if response is not False : responses . extend ( response if response is list else [ response ] ) if not any ( responses ) : if help_message : return help_message else : return False else : if len ( responses ) > 1 : return responses else : return responses [ 0 ]
Parse input text by looping over a list of multiple parsers. If one trigger
    is triggered, return the value returned by that trigger, if multiple
    triggers are triggered, return a list of the values returned by those
    triggers. If no triggers are triggered, return False or an optional help
    message.