OsGetGridNick

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(New page: <blockquote> //XEngine;lsl<br>//<br>// Example of osGetGridNick()<br>// returns the value of gridnick = "hippogrid" in OpenSim.ini under [GridInfo] section default<br>{<br>state_entry()<b...)
 
m (Added permissions and delay information)
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<blockquote>
+
{{osslfunc
//XEngine;lsl<br>//<br>// Example of osGetGridNick()<br>// returns the value of gridnick = "hippogrid" in OpenSim.ini under [GridInfo] section
+
|threat_level=Moderate
 
+
|permissions=true
default<br>{<br>state_entry()<br>{<br>llSay(0, "Grid Nick Name = "+osGetGridNick());<br>}<br>}
+
|delay=0
</blockquote>
+
|function_syntax=string osGetGridNick()
 +
|ossl_example=<source lang="lsl">
 +
//
 +
// Example of osGetGridNick()
 +
// returns the value of gridnick = "hippogrid" in OpenSim.ini under [GridInfo] section
 +
//
 +
  default
 +
{
 +
state_entry()
 +
  {
 +
  llSay(0, "Grid Nick Name = "+osGetGridNick());
 +
  }
 +
}
 +
</source>
 +
|description=Returns the current grid's nickname as a string.
 +
|
 +
}}

Revision as of 19:56, 25 October 2017

string osGetGridNick()
Returns the current grid's nickname as a string.
Threat Level Moderate
Permissions Use of this function is always allowed by default
Extra Delay 0 seconds
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