Tribot

open class Tribot

Contains methods to obtain information about the tribot environment

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getCurrentUserId(): Int
Link copied to clipboard
open fun getDirectory(): File
Gets the TRiBot directory (for example, on windows this will be %appdata%/.tribot).
Link copied to clipboard
open fun getUsername(): String
Determines the username of the user running the script.
Link copied to clipboard
open fun isTribotEcho(): Boolean
Link copied to clipboard
open fun isTribotX(): Boolean