-
Notifications
You must be signed in to change notification settings - Fork 2
Simple Types
PokeJofeJr4th edited this page Aug 3, 2023
·
5 revisions
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.
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.