OsGetGridName

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (some syntax modification (may be major or minor))
Line 16: Line 16:
 
  }
 
  }
 
</source>
 
</source>
|description=
+
|description=Returns the current grid's name as a string.
 
|
 
|
 
}}
 
}}

Revision as of 12: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());
   }
 }
Personal tools
General
About This Wiki