RS13159265 Posted June 5, 2021 Share Posted June 5, 2021 package MasterScripts; import org.osbot.rs07.api.Bank; import org.osbot.rs07.api.ui.EquipmentSlot; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author="RS", info="Test small snippets", logo="", name="TestFunctions", version=1) public class TestFunctions extends Script { @Override public void onStart() {} @Override public int onLoop() throws InterruptedException { try { boolean ew = getEquipment().equip(EquipmentSlot.WEAPON, "Iron axe"); log("Result of equip: "+ew); } catch (Exception e) { log("Exception occurred: "+e); } stop(false); } } Equip a bronze axe. Load an iron axe into your inventory. The above script equips the axe, BUT returns false. Bug? Quote Link to comment Share on other sites More sharing options...
RS13159265 Posted June 5, 2021 Author Share Posted June 5, 2021 Similarly, inventory.dropAll(f) always returns true, regardless of whether or not it dropped an item. Quote Link to comment Share on other sites More sharing options...