def skipped_msg(ctx, members):
    """Returns formatted message listing users."""
    if not members:
        return ''
    
    msg = "Skipped: "
    if len(members) == 1:
        msg += members[0].name
    elif len(members) == 2:
        msg += f'{members[0].name} and {members[1].name}'
    elif len(members) > 2:
        for member in members[:-1]:
            msg += f'{member.name}, '
        msg += f'and {members[-1].name}'
    return msg