From Second Life Wiki
Revision as of 17:56, 8 December 2010 by Cerise Resident (Talk | contribs)

Jump to: navigation, search


Function: string llGetEnv( string name );

Returns a string with the requested data about the region.

• string name The name of the data to request
Table of valid name values.
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 ""


<lsl> default {

   touch_start(integer total_number)
       string version = llGetEnv("sim_version");
       llOwnerSay("Region " + llGetRegionName() + " is running "
                  + llGetEnv("sim_channel") + " version " + version );
       list ver = llParseString2List(version, ["."], []);
       llOwnerSay("Build: "+llList2String(ver, 3));
       llOwnerSay("Build Date: "+llList2String(ver, 2)+"-"+llList2String(ver, 1)+"-20"+llList2String(ver, 0));



See Also

Deep Notes


  • Introduced in Second Life RC LeTigre, deployed on 2010-12-01.
  • Deployed to rest of Agni with Second Life Server, Second Life RC BlueSteel, Second Life RC Magnum

Search JIRA for related Issues


function string llGetEnv( string name );