llGetEnv

From Second Life Wiki
Revision as of 02:04, 2 December 2010 by Cerise Resident (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
KBcaution.png Important: This feature is currently only available on the LeTigre server channel.

Summary

Function: string llGetEnv( string name );

Returns a string with the requested data about the region where the script is running.

• string name

Name Description
"sim_channel" Get the current region's channel string, for example "Second Life Server"
"sim_version" Get the current region's version number string, for example "10.11.30.215699"

Examples

<lsl> default {

   touch_start(integer total_number)
   {
       llOwnerSay("Region " + llGetRegionName() + " is running "
                  + llGetEnv("sim_channel") + " version " + llGetEnv("sim_version"));
   }

}

</lsl>

See Also

Deep Notes

History

Search JIRA for related Issues

Signature

function string llGetEnv( string name );