llGetMaxScaleFactor
LSLfloat llGetMaxScaleFactor()
Returns the largest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.
Takes no parameters.
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.