I don't know what u need to make the character return, but i think that when the bot check if the backpack is full and return true, the bot don't look for a bank directly, but send the character go to "x" point to the map, nearest to castle of lumbridge than al kharid. what do u think about it...