BSL:BFW Scripting Language

From OniGalore
Jump to navigation Jump to search

Oni Scripting Language (or OSL)

is what Oni scripts are written in.

Please excuse the mess.

OSL syntax overview table
OSL separators
; , # "
{ } ( )

Click on a separator for details

OSL operators
+ - = !
and or eq ne
< > <= >=

Click on an operator for details

OSL keywords
at float if repeat string
bool for int return using
else fork iterate schedule var
every func over sleep void

Click on a keyword for details


Here is a tutorial section on how to write simple scripts. Its a work-in-progress.