llGetRot
LSLrotation llGetRot()
Returns the rotation relative to the region's axes.\ Returns the rotation.
Takes no parameters.
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.