OsGetGridNick

From OpenSimulator

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

Revision as of 11:01, 30 July 2011

string osGetGridNick()
Returns the current grid's nickname as a string.
Threat Level Moderate
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
//
 // Example of osGetGridNick()
 // returns the value of gridnick = "hippogrid" in OpenSim.ini under [GridInfo] section
 //
  default
 {
 state_entry()
   {
   llSay(0, "Grid Nick Name = "+osGetGridNick());
   }
 }
Personal tools
General
About This Wiki