Instead of caching every item ID you need to know, you could also use this snippet made by @Explv.
https://osbot.org/forum/topic/102611-ge-data-get-price-etc-by-item-name-no-external-libraries-required/
You could grab the price from OSBuddy's API. I think there's a snippet from that somewhere. You could just increase the price by 1.05 or 1.10, this makes it way too difficult.
Hi,
My plan is to write one or more free scripts for the SDN. I don't really know what script would contribute to the SDN, so please come up with your ideas.
Canidae
You are closing your if statement by putting a semicolon at the end of it. Your code should look like this.
if (myPlayer().getPosition().equals(PLAYER_LOC)) {
getBank().open();
}