View on GitHub

smooth-script

CYOA-style scripting language for talking avatars

Macros

Macros are mini-functions you can use in expressions. They all take a single argument.

rand

Outputs 0 or a random positive integer less than the the argument specified rand(2) will output 0 or 1 with equal probability.

length

Outputs the length of the argument (evaluates as a string). length("hi") returns 2.

not

Returns the opposite. not(true) returns false.