Jump to content

Lewis

$100.00 Donor
  • Posts

    764
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Lewis

  1. need to figure out how to return true if for example: GE is closest, bank, it walks to ge // i got working then if GE contains myplayer { w.e *GE will be closest bank
  2. looking for my script to run to the closest bank, but i dont know how to get if closest bank contains myplayer code is: private final Area[] BANKS = { (Banks.DRAYNOR), (Banks.AL_KHARID), (Banks.LUMBRIDGE_UPPER), (Banks.FALADOR_EAST), (Banks.FALADOR_WEST), (Banks.FALADOR_EAST), (Banks.VARROCK_WEST), (Banks.CAMELOT), (Banks.CATHERBY), (Banks.EDGEVILLE), (Banks.YANILLE), (Banks.GNOME_STRONGHOLD), (Banks.ARDOUGNE_NORTH), (Banks.ARDOUGNE_SOUTH), (Banks.CASTLE_WARS), (Banks.DUEL_ARENA), (Banks.PEST_CONTROL), (Banks.CANIFIS), (Banks.TZHAAR)}; && if (!BANKS.contains(myPlayer())) { walking.webWalk(BANKS); sleep(random(250, 300));
  3. no need to be a douche about it?
  4. feel free to link me the appropriate info. Ive been googling it for the past 3 hours
  5. im sure this a help section for a reason lol
  6. i want to withdraw using parameters lol, i know how to withdraw normally lol such as bank.withdrawAll(PARAMETER_1); bank.withdrawAll(PARAMETER_2);
  7. i thought the thread being in script help would be pretty self explanatory also, what would i add to say, banking method such as: withdraw parameter 1
  8. Hey, im looking to add cli parameters to my script. im looking for it to withdraw items that are on the cli parameters such as: test:log,apple,mind rune
  9. how would you limit a script to only be able to used by the osbot user "Lewis", so anyone without the osbot username "Lewis" would not have permission to run the script
  10. like so: (feel free to correct me) final String BANK_BOOTH = "Banker"; NPC bankbooth = npcs.closest(BANK_BOOTH); if (!bank.isOpen()) { bankbooth.interact("Bank"); new ConditionalSleep(10000) { @[member='Override'] public boolean condition() throws InterruptedException { return bank.isOpen(); } }.sleep(); } else if (bank.isOpen()) { if (!getBank().getWithdrawMode().equals(BankMode.WITHDRAW_NOTE)) { getBank().enableMode(BankMode.WITHDRAW_NOTE); new ConditionalSleep(10000) { @[member='Override'] public boolean condition() throws InterruptedException { return getBank().getWithdrawMode().equals(BankMode.WITHDRAW_NOTE); } }.sleep(); } else if (bank.contains("Shortbow") && getBank().getWithdrawMode().equals(BankMode.WITHDRAW_NOTE)) { bank.withdraw("Shortbow", AMOUNT); new ConditionalSleep(10000) { @[member='Override'] public boolean condition() throws InterruptedException { return inventory.contains("Shortbow"); } }.sleep(); } }
  11. if (!getBank().getWithdrawMode().equals(BankMode.WITHDRAW_NOTE)) getBank().enableMode(BankMode.WITHDRAW_NOTE);
  12. im interested how you done this, please let me know
  13. how would an if statement such as if pending_sale look like
  14. Looking to find out how to tell the difference between these 4 GE slot statuses tried widgets but cannot find the correct one, any help is appreciated
  15. Lewis

    Level 3 accounts

    i can make some for you, level 3 and 7qp add me on skype: sales.lewis
  16. thank you, not on skype currently but ill be on soon
  17. could you give me a code example please? ArrayList listTest = new ArrayList( listTest.add( "first item" ); listTest.add( "second item" ); listTest.add( "third item" ); listTest.add( "fourth item" ); for example
  18. i am looking to withdraw items A, B, C, D, E from the bank for example. what would be the best way to do this? would i check individually for each item i.e if A is in bank withdraw A If B is in bank withdraw B etc or would i be able to do a list for example: if Items is in bank withdraw Items Edit: i want to withdraw ALL not X/all but one etc
  19. -script test: rest of the code i know is correct i tried variations like: -script test -script test:0 -script test:1 -script test:""
×
×
  • Create New...