OsGetGridHomeURI
From OpenSimulator
(Difference between revisions)
| (4 intermediate revisions by 3 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() | ||
| − | |||
// | // | ||
default | default | ||
| Line 11: | Line 12: | ||
state_entry() | state_entry() | ||
{ | { | ||
| − | llSay(0, "Grid | + | llSay(0, "Grid Home Uri= "+osGetGridHomeURI()); |
} | } | ||
} | } | ||
</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 | |