OsGetGridCustom

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added permissions and delay information)
m (Added note stating which version of OpenSim introduced this function)
Line 24: Line 24:
 
</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
 
}}
 
}}

Revision as of 09:30, 15 October 2018

string osGetGridCustom(string key)
Returns the value of the GridInfo key as a string.
Threat Level Moderate
Permissions ${XEngine|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
Personal tools
General
About This Wiki