QueScript is a Java-based Max External for writing animation scripts.
    It has a rich feature set of commands that allow a unique way of writing complex cue-, time- or logic- triggered animations that can be easily implemented into existing max patches.
    It also features {expressions} and variables. All of the values (numbers or times except attributes that require strings) can be expressed with an {expression}.
    Best to have a look at the Introduction or at the more advanced scripts inside the package.