OsGetGridHomeURI

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with "Gets the HomeURI for the grid")
 
m (Added note stating which version of OpenSim introduced this function)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Gets the HomeURI for the grid
+
{{osslfunc
 +
|threat_level=Moderate
 +
|permissions=${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
 +
|delay=0
 +
|function_syntax=string osGetGridHomeURI()
 +
|ossl_example=<source lang="lsl">
 +
//
 +
// Example of osGetGridHomeUri()
 +
// returns the value of SRV_HomeURI in OpenSim.ini under [GridInfo] section
 +
// for standalone. For grids, this will be the value set in the Robust ini.
 +
//
 +
default
 +
{
 +
  state_entry()
 +
  {
 +
    llSay(0, "Grid Home Uri= "+osGetGridHomeURI());
 +
  }
 +
}
 +
</source>
 +
|description=Returns the current grid's home URI as a string.
 +
|additional_info=This function was added in 0.7.3-post-fixes
 +
}}

Revision as of 09:30, 15 October 2018

string osGetGridHomeURI()
Returns the current grid's home URI as a string.
Threat Level Moderate
Permissions ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Example(s)
//
// Example of osGetGridHomeUri()
// returns the value of SRV_HomeURI in OpenSim.ini under [GridInfo] section
// for standalone. For grids, this will be the value set in the Robust ini.
//
default
{
  state_entry()
  {
     llSay(0, "Grid Home Uri= "+osGetGridHomeURI());
   }
}
Notes
This function was added in 0.7.3-post-fixes
Personal tools
General
About This Wiki