Interaction

public class Interaction

Utilities for easily interacting with game entities

Functions

interactGroundItem
Link copied to clipboard
static boolean interactGroundItem(int itemId, String action)
Interacts with the best nearby ground item using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector
static boolean interactGroundItem(String itemName, String action)
Interacts with the best nearby ground item using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector
interactNpc
Link copied to clipboard
static boolean interactNpc(int npcId, String action)
Interacts with the best nearby npc using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector
static boolean interactNpc(String npcName, String action)
Interacts with the best nearby npc using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector
interactObj
Link copied to clipboard
static boolean interactObj(int objId, String action)
Interacts with the best nearby object using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector
static boolean interactObj(String objName, String action)
Interacts with the best nearby object using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector
interactPlayer
Link copied to clipboard
static boolean interactPlayer(String playerName, String action)
Interacts with the specified player using interact