OsGetGridNick

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added permissions and delay information)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{osslfunc|
+
{{osslfunc
threat_level = Moderate
+
|threat_level=Moderate
|
+
|permissions=true
function_syntax = <source lang="lsl">
+
|delay=0
osGetGridNick()
+
|function_syntax=string osGetGridNick()
</source>
+
|ossl_example=<source lang="lsl">
|
+
ossl_example = <source lang="lsl">
+
 
  //
 
  //
 
  // Example of osGetGridNick()
 
  // Example of osGetGridNick()
Line 19: Line 17:
 
  }
 
  }
 
</source>
 
</source>
|  
+
|description=Returns the current grid's nickname as a string.
additional_info =  
+
 
|
 
|
 
}}
 
}}

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