Hello, hopefully this is the right section for this question. I've been working on my first script which is a woodcutting/ firemaking script.
I am having trouble selecting items in my inventory, I want to select the Tinderbox . I have tried the following
inventory.interact("Tinderbox", "Use");
&
inventory.interactWithNameThatContains("Tinderbox");
neither of these have been able to select the Tinderbox for me. Am I using them wrong?
I've also seen people use
client.getInventory().interactWithId(tinderbox, "Use");
client.getInventory().interactWithNameThatContains(strLogType, "Use");
Ive tried it this way too, however, using client.getInventory gives me the following error "The method getInventory() is undefined for the type Client" . is this an outdated method?