Booleans and if function
This commit is contained in:
@@ -17,4 +17,16 @@ Example: `print var`
|
||||
|
||||
Changes the value of an already created value.
|
||||
|
||||
Example `set var = "World"`
|
||||
Example: `set var = "World"`
|
||||
|
||||
## if bool
|
||||
|
||||
Runs code if a boolean is true.
|
||||
|
||||
Example:
|
||||
```
|
||||
create *1 bool = true
|
||||
if bool {
|
||||
set var = "BASM!"
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user