llGetObjectName
LSLstring llGetObjectName()
Returns the name of the prim which the script is attached to.\ Returns the name of the prim (not object) which contains the script.
Takes no parameters.
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.