Sorry I don't understand what you mean, something I could more understand would be like, get all your positions making sure they are within clickable distance (usually 10-12 tiles) and the do blah blah, sorry I don't understand when you state, I already have all my positions but just how to make them actually work for the script I am unsure.
private final Area BANK_PATH = new Area(new Position[] {
new Position(3240, 3302, 0),
new Position(3236, 3307, 0),
new Position(3225, 3321, 0),
new Position(3212, 3333, 0),
new Position(3204, 3349, 0),
new Position(3201, 3367, 0),
new Position(3187, 3378, 0),
new Position(3176, 3391, 0),
new Position(3170, 3407, 0),
new Position(3172, 3424, 0)
});
private final Area PICK_PATH = new Area(new Position[] {
new Position(3172, 3424, 0),
new Position(3170, 3407, 0),
new Position(3176, 3391, 0),
new Position(3187, 3378, 0),
new Position(3201, 3367, 0),
new Position(3204, 3349, 0),
new Position(3212, 3333, 0),
new Position(3225, 3321, 0),
new Position(3236, 3307, 0),
new Position(3240, 3302, 0)
});