Assuming he has the axes in inventory, its as simple as detecting current level and checking if equipped. If not equipped then equip it.
If he has to get it from the bank, of course the code will be longer but still can be accomplished with a simple check if in bank else walk to bank, open bank, withdraw and then equip.
I just dont understand the need to overcomplicate the script and use advanced java when the API Alek has created basically does it all for you and makes coding scripts on here so simple