test( test expression, if true, if false )
?( test expression, if true, if false )
exists( value )
min( value 1, value 2 )
max( value 1, value 2 )
length( vector )
distance( vector 1, vector 2 )
dotproduct( vector 1, vector 2 )
crossproduct( vector 1, vector 2 )
rotate( input vector, rotation angles )
normalize( vector )
toangles( vector )
toforwardvector( vector )
clamp( input value, minimum value, maximum value )
remap( input value, from min, from max, to min, to max )
remapclamped( input value, from min, from max, to min, to max )
int( value )
float( value )
string( value )
stringpad( value, min digits, num digits after decimal point )
vector( string or X coordinate )
x( vector )
y( vector )
z( vector )
not( value )
!( value )
~( value )
sqrt( value )
pow( base, exponent )
floor( value )
ceil( value )
randomint( minimum value, maximum value )
randomfloat( minimum value, maximum value )
case( test value, default, case1 )
sin( angle in radians )
cos( angle in radians )
tan( angle in radians )
atan( value )
atan2( x, y )
abs( value )
playeratindex( index )
entityindex( entity )
playeritematslot( entity, slot )
attribute( player or item, attribute name )
type( value )
charat( string, pos )
substr( string, pos, length )
substring( string, pos, length )
startswith( string, prefix )
endswith( string, suffix )
find( haystack, needle )