OsGetGridCustom: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Aiaustin m added ref to Robust.HG.ini |
imported>Aiaustin m put . on HG inside option bracket |
||
| Line 9: | Line 9: | ||
// 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. | // 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 | ||
Revision as of 08:55, 2 August 2014
string osGetGridCustom(string key)
| |
| Returns the value of the GridInfo key as a string. | |
| Threat Level | Moderate |
| Permissions | No permissions specified |
| Extra Delay | No function delay specified |
| 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"));
}
}
| |