OsGetGridHomeURI

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added note stating which version of OpenSim introduced this function)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=Moderate
 
|threat_level=Moderate
|permissions=${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
+
|permissions=${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
 
|delay=0
 
|delay=0
 
|function_syntax=string osGetGridHomeURI()
 
|function_syntax=string osGetGridHomeURI()
Line 7: Line 7:
 
//
 
//
 
// 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 18: 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
 
|additional_info=This function was added in 0.7.3-post-fixes
 
}}
 
}}

Latest revision as of 06: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