def build_lambda(args):
    """Returns name and lambda function as strings"""
    name, body = ' '.join(args).split(':', 1)
    if name.endswith(')'):
        name, args = name[:-1].split('(', 1)
    else:
        args = '*args'
    func_s = 'lambda channel, nick, host, %s:%s' % (args, body)
    return func_s, name