OsGetGridName: Difference between revisions

From OpenSimulator
Jump to navigationJump to search
imported>MakoBot
m some syntax modification (may be major or minor)
imported>Fritigern
No edit summary
Line 16: Line 16:
  }
  }
</source>
</source>
|description=
|description=Returns the current grid's name as a string.
|
|
}}
}}

Revision as of 19:00, 30 July 2011

string osGetGridName()
Returns the current grid's name as a string.
Threat Level Moderate
Permissions No permissions specified
Extra Delay No function delay specified
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());
   }
 }