OsGetGridCustom
From OpenSimulator
(Difference between revisions)
(Created page with "{{osslfunc |threat_level=Moderate |function_syntax=string osGetGridCustom(string key) |ossl_example=<source lang="lsl"> // // Example of osGetGridCustom(string key) // Returns th...") |
m (XEngine to OSSL) |
||
(5 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 osGetGridCustom(string key) | |function_syntax=string osGetGridCustom(string key) | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
Line 9: | Line 11: | ||
// For grids and standalones, the [GridInfoService] | // For grids and standalones, the [GridInfoService] | ||
// defines key/value pairs for clients. In grids, | // defines key/value pairs for clients. In grids, | ||
− | // this is found in your Robust.ini and for | + | // this is found in your Robust[.HG].ini and for |
// standalones, this is found in the file - | // standalones, this is found in the file - | ||
// ./bin/config-include/StandaloneCommon.ini | // ./bin/config-include/StandaloneCommon.ini | ||
Line 15: | Line 17: | ||
default | default | ||
{ | { | ||
− | + | state_entry() | |
− | + | { | |
− | + | llSay(0, "Grid Welcome Page = " + osGetGridCustom("welcome")); | |
− | + | } | |
} | } | ||
</source> | </source> | ||
|description=Returns the value of the GridInfo key as a string. | |description=Returns the value of the GridInfo key as a string. | ||
− | | | + | |additional_info=This function was added in 0.7.3-post-fixes |
}} | }} |
Latest revision as of 06:38, 7 November 2019
string osGetGridCustom(string key)
| |
Returns the value of the GridInfo key as a string. | |
Threat Level | Moderate |
Permissions | ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
Extra Delay | 0 seconds |
Example(s) | |
// // Example of osGetGridCustom(string key) // Returns the grid's value of the sent key ... // // For grids and standalones, the [GridInfoService] // defines key/value pairs for clients. In grids, // this is found in your Robust[.HG].ini and for // standalones, this is found in the file - // ./bin/config-include/StandaloneCommon.ini // default { state_entry() { llSay(0, "Grid Welcome Page = " + osGetGridCustom("welcome")); } } | |
Notes | |
This function was added in 0.7.3-post-fixes |