It's not actually script, it's not a programming language like C or Python. It's just a simple way of typing in mathematical expressions. The link Kyatric posted covers the syntax completely, and the rest of it is just different objects' expressions, which are all individually described in the floating object expressions panel.