Skip to content

Simple Types

PokeJofeJr4th edited this page Aug 3, 2023 · 5 revisions

Text

Minescript treats a sequence of alphanumeric ASCII characters, plus _, as an identifier if it cannot be parsed as an integer. Most settings that allow identifiers will also allow strings. A string is enclosed in double quotes (") and allows escaping characters, including double quotes, with a backslash. This does not work on the left side of operations or objects.

Numbers

Minescript supports positive and negative integers and floating-point numbers. Integers can be combined into ranges, with two dots between (1..10). If either side is omitted, the range effectively continues indefinitely in that direction.

Clone this wiki locally