Skip to content

Conditional Statements

As a new feature of ea.ts, we have added $stmt. This is a function that lets you evaluate multiple conditional statements at once.

$ignore[Declaring the variable to work with.]
$let[myValue;bedwars]
$ignore[Conditional statement starts here.]
$stmt[
$if[$get[myValue]==skyblock;
...my code
]
$elseif[$get[myValue]==aidk;
...my code
]
$else[
...my code
]
]