OsGetGridCustom

From OpenSimulator
Revision as of 12:23, 24 February 2012 by imported>BlueWall (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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.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"));
   }
}