OsGetGridHomeURI
From OpenSimulator
(Difference between revisions)
| Line 5: | Line 5: | ||
// | // | ||
// Example of osGetGridHomeUri() | // Example of osGetGridHomeUri() | ||
| − | // returns the value of SRV_HomeURI in | + | // returns the value of SRV_HomeURI in OpenSim.ini under [GridInfo] section |
| + | // for standalone. For grids, this will be the value set in the Robust ini. | ||
// | // | ||
default | default | ||
| Line 11: | Line 12: | ||
state_entry() | state_entry() | ||
{ | { | ||
| − | llSay(0, "Grid | + | llSay(0, "Grid Home Uri= "+osGetGridHomeURI()); |
} | } | ||
} | } | ||
Revision as of 04:01, 24 February 2012
string osGetGridHomeURI()
| |
| Returns the current grid's home URI as a string. | |
| Threat Level | Moderate |
| Permissions | No permissions specified |
| Extra Delay | No function delay specified |
| Example(s) | |
// // Example of osGetGridHomeUri() // returns the value of SRV_HomeURI in OpenSim.ini under [GridInfo] section // for standalone. For grids, this will be the value set in the Robust ini. // default { state_entry() { llSay(0, "Grid Home Uri= "+osGetGridHomeURI()); } } | |