Jump to content

j0kerin0

Members
  • Posts

    1
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

392 profile views

j0kerin0's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. private void bank() throws InterruptedException{ if (!bank.isOpen()){ bank.open(); } else { bank.depositAll(); sleep(random(1000,2000)); if (inventory.isEmpty()){ if (bank.enableMode(Bank.BankMode.WITHDRAW_NOTE)){ log("SWITCHING TO NOTED MODE"); bank.withdrawAll("Lobster"); sleep(random(1000,2000)); } } } } This is the code. The supposed result is to empty the inventory, then withdraw all the lobsters in the bank not. Cant seem to get it to work though. The log-code excecutes, but it still doesnt switch to noted mode or withdraw any lobsters. Also, if the code is bad/something could be improved, please let me know, I am still learning
×
×
  • Create New...