OsGetGridName: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>MakoBot m some syntax modification (may be major or minor) |
imported>Ubit No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
|threat_level= | |threat_level=None | ||
|permissions=true | |||
|delay=0 | |||
|function_syntax=string osGetGridName() | |function_syntax=string osGetGridName() | ||
| | | | ||
| Line 16: | Line 18: | ||
} | } | ||
</source> | </source> | ||
|description= | |description=Returns the current grid's name as a string. | ||
| | | | ||
}} | }} | ||
Latest revision as of 22:13, 1 June 2021
string osGetGridName()
| |
| Returns the current grid's name as a string. | |
| Threat Level | None |
| Permissions | Use of this function is always allowed by default |
| Extra Delay | 0 seconds |
| Example(s) | |
//
// Example of osGetGridName()
// returns the value of gridname = "Hippogrid" in OpenSim.ini under [GridInfo] section
//
default
{
state_entry()
{
llSay(0, "Grid Name = "+osGetGridName());
}
}
| |