OsGetGridNick

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{|  width="100%" style="border: thin solid black"
+
{{osslfunc
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
+
|threat_level=None
|- valign="top"
+
|permissions=true
|'''Threat Level''' || Moderate
+
|delay=0
 
+
|function_syntax=string osGetGridNick()
|- valign="top"
+
|ossl_example=<source lang="lsl">
|'''Function Syntax''' || <source lang="lsl">
+
osGetGridNick()
+
</source>
+
|- valign="top"
+
|'''Example(s)||<source lang="lsl">
+
 
  //
 
  //
 
  // Example of osGetGridNick()
 
  // Example of osGetGridNick()
Line 22: Line 17:
 
  }
 
  }
 
</source>
 
</source>
|}
+
|description=Returns the current grid's nickname as a string.
 
+
|
[[Category:OSSL Functions]]
+
}}

Latest revision as of 14:12, 1 June 2021

string osGetGridNick()
Returns the current grid's nickname as a string.
Threat Level None
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