TheBrohman Posted October 15, 2014 Share Posted October 15, 2014 (edited) Hello! So I am stuck while making my own fletching script. I need help on how I would make it make the item I have defined. (In this ocasion I want it to make arrowshafts. This is my code so far. if (bank.isOpen()) { sleep(random(700, 800)); if (!inventory.contains("Knife")) { bank.withdraw("Knife", 1); bank.withdrawAll(1511); } bank.depositAllExcept("Knife"); sleep(random(800, 1000)); bank.withdrawAll(1511); sleep(random(600, 900)); bank.close(); } else { objects.closest(BANK_BOOTH_ID).interact("Bank"); } if (inventory.contains("Knife") && inventory.contains(1511)) { inventory.interact("Knife", 1511); } And on here ^^ Idk how to make it respond to the actions coming up. Edited October 15, 2014 by TheBrohman Link to comment Share on other sites More sharing options...
Extreme Scripts Posted October 15, 2014 Share Posted October 15, 2014 You will need to grab the parent/child ID's of the interface and then interact with it using the following: interfaces.get(PARENT_ID).getChild(CHILD_ID).interact("Interaction String"); Make sure you check for the interface being visible before interacting with it Link to comment Share on other sites More sharing options...
TheBrohman Posted October 15, 2014 Author Share Posted October 15, 2014 Thanks m8! Gonna figure that out if I get unbanned, or get my brother to do it for me. Link to comment Share on other sites More sharing options...