TeaScript Syntax

WIP documentation of TeaScript. Feel free to add any information necessary below.

Variables
To make a variable, open the variable menu by going to view -> Variable or ctrl+I. Then click 'Add' to make a variable. https://cdn.discordapp.com/attachments/273281168130965504/315971257713557504/unknown.png

Types of variables: ???
 * Local Variable
 * v(name) or val(name)
 * str(name)
 * Local Array
 * Global Variable
 * gv(name) or gval(name)
 * gstr(name)

Special numbers

 * pi = 3.141592654
 * e = 2.71828182
 * rnd = A random value between 0 and 1.

Comparing and Logical Operators
The logical operators in Teascript are: not, and, or, xor, eqv, and imp.

Do Loop
There are three different versions of do loops: While loops, Until Loops, and Pure Loops.

With while and until loops, you may choose where to place the 'while' or 'until' keyword. There can only be one of either keyword in the entire loop.

Goto
Using goto it will force the script to jump to the specified line using a label. When the script reached "goto Example" it will jump to "Example" and execute the script below it. The labels used with goto statements must: have names that do not contain characters that do not follow variable name rules and there must not be two labels with the same name.

Script
Using the script keyword, it allows you to make function in Teascript. Example: