OsGetGridName

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{osslfunc|
+
{{osslfunc
threat_level = Moderate
+
|threat_level=None
|
+
|permissions=true
function_syntax = <source lang="lsl">
+
|delay=0
osGetGridName()
+
|function_syntax=string osGetGridName()
</source>
+
 
|
 
|
 
ossl_example =<source lang="lsl">
 
ossl_example =<source lang="lsl">
Line 19: Line 18:
 
  }
 
  }
 
</source>
 
</source>
|  
+
|description=Returns the current grid's name as a string.
additional_info =  
+
 
|
 
|
 
}}
 
}}

Latest revision as of 14:13, 1 June 2021

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