OsGetGridHomeURI

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=Moderate
 
|threat_level=Moderate
 +
|permissions=${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
 +
|delay=0
 
|function_syntax=string osGetGridHomeURI()
 
|function_syntax=string osGetGridHomeURI()
 
|ossl_example=<source lang="lsl">
 
|ossl_example=<source lang="lsl">
 
//
 
//
 
// Example of osGetGridHomeUri()
 
// 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
 
default
Line 16: Line 16:
 
}
 
}
 
</source>
 
</source>
|description=Returns the current grid's home URI as a string.
+
|description=Returns the current grid's home URI as a string. if HG is not configured, returns empty string
|
+
|additional_info=This function was added in 0.7.3-post-fixes
 
}}
 
}}

Latest revision as of 05:23, 26 September 2020

string osGetGridHomeURI()
Returns the current grid's home URI as a string. if HG is not configured, returns empty string
Threat Level Moderate
Permissions ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Example(s)
//
// Example of osGetGridHomeUri()
//
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