if truthy (

In osl, an if statement requires only the word "if" followed by a condition, then ending the line in an opening parenthesis, this is how you open an if statement.

if 10 > 5 (
   log "10 is bigger than 5!"
)

Last updated