public void script() throws InterruptedException { while (true) { log(""+inventoryCount()); if(inventoryCount()==28) { log("Inventory Full + Dropping"); dropInventoryExceptPick(); sleep(1000);