interactGroundItem

open fun interactGroundItem(itemName: String, action: String): Boolean

Interacts with the best nearby ground item using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector

Return

true if interacted with successfully, false otherwise

Parameters

itemName

the item name

action

the item action


open fun interactGroundItem(itemId: Int, action: String): Boolean

Interacts with the best nearby ground item using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector

Return

true if interacted with successfully, false otherwise

Parameters

itemId

the item id

action

the item action