OsGetGridHomeURI

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with "Gets the HomeURI for the grid")
 
Line 1: Line 1:
Gets the HomeURI for the grid
+
{{osslfunc
 +
|threat_level=Moderate
 +
|function_syntax=string osGetGridHomeURI()
 +
|ossl_example=<source lang="lsl">
 +
//
 +
// Example of osGetGridHomeUri()
 +
// returns the value of SRV_HomeURI in Robust.ini / OpenSim.ini under [GridInfo] section
 +
//
 +
default
 +
{
 +
  state_entry()
 +
  {
 +
    llSay(0, "Grid Login Uri= "+osGetGridHomeURI());
 +
  }
 +
}
 +
</source>
 +
|description=Returns the current grid's home URI as a string.
 +
|
 +
}}

Revision as of 03:59, 24 February 2012

string osGetGridHomeURI()
Returns the current grid's home URI as a string.
Threat Level Moderate
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
//
// Example of osGetGridHomeUri()
// returns the value of SRV_HomeURI in Robust.ini / OpenSim.ini under [GridInfo] section
//
default
{
  state_entry()
  {
     llSay(0, "Grid Login Uri= "+osGetGridHomeURI());
   }
}
Personal tools
General
About This Wiki