Reference card

If you are already used to programming, this should be useful.

ManiaScript Types

Language primary types are:

Boolean
Text
Integer
Real
Vec2
Vec3
Int3
Ident

The other types, known as Classes, are composite types whose name start with a 'C'. CSmPlayer, CMlLabel, etc...

ManiaScript Values

Language constant values are :

TypeValues
BooleanTrue, False
TextEverything like "XXX" or """XXX"""
IntegerEverything like 123789
RealEverything like 123789. or .12312
Vec2 < Real1, Real2 >
Vec3 < Real1, Real2, Real3 >
Int3 < Integer1, Integer2, Integer3 >
Ident NullId
Class Null

You can not create your own Ident or Class values, however many API functions return such values, and you can store them or use them like other ManiaScript variables

See more here...

Operators

Mathematical operators:

+add value
-substract value
*multiply value
/divide value
%remainder of value divison

Boolean operators:

!boolean "not", this will negate the boolean expression
&& boolean "and"
||boolean "or"

Comparison operators:

==equals
!= not equals
< less than
> greater than
<= less or equal than
>= greater or equal than
Incremention operators:
+=add value to current
-=substract value from current
*=multiply current value
/=divide current value