-
Notifications
You must be signed in to change notification settings - Fork 18
API Reference
JoeStrout edited this page Jan 26, 2022
·
17 revisions
The functions and classes added to the MiniScript core are called Application Programming Interfaces, or APIs. These are the built-in functions and methods you can use in your own Farmtronics programs.
Function | Usage |
---|---|
bot |
Module of bot-related methods (bots only; null on the Home Computer) |
env |
Environment options; see https://miniscript.org/wiki/Env |
exit |
Exit the current script, returning to the command line |
farm |
Reference to the Location that represents your farm |
file |
File-handling module; see https://miniscript.org/wiki/File |
import libname
|
Import a library module; see https://miniscript.org/wiki/Import |
input (prompt) |
Get a string of input from the user (https://miniscript.org/wiki/Input) |
key |
Module related to keyboard input; see https://miniscript.org/wiki/Key |
text |
Reference to the TextDisplay |