interact Npc
Interacts with the best nearby npc using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector
Return
true if interacted with successfully, false otherwise
Parameters
npcName
the npc name
action
the npc action
Interacts with the best nearby npc using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector
Return
true if interacted with successfully, false otherwise
Parameters
npcId
the npc id
action
the npc action