OsGetGridHomeURI

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (XEngine to OSSL)
 
Line 7: Line 7:
 
//
 
//
 
// Example of osGetGridHomeUri()
 
// Example of osGetGridHomeUri()
// returns the value of SRV_HomeURI in OpenSim.ini under [GridInfo] section
 
// for standalone. For grids, this will be the value set in the Robust ini.
 
 
//
 
//
 
default
 
default
Line 18: Line 16:
 
}
 
}
 
</source>
 
</source>
|description=Returns the current grid's home URI as a string.
+
|description=Returns the current grid's home URI as a string. if HG is not configured, returns empty string
 
|additional_info=This function was added in 0.7.3-post-fixes
 
|additional_info=This function was added in 0.7.3-post-fixes
 
}}
 
}}

Latest revision as of 06:23, 26 September 2020

string osGetGridHomeURI()
Returns the current grid's home URI as a string. if HG is not configured, returns empty string
Threat Level Moderate
Permissions ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Example(s)
//
// Example of osGetGridHomeUri()
//
default
{
  state_entry()
  {
     llSay(0, "Grid Home Uri= "+osGetGridHomeURI());
   }
}
Notes
This function was added in 0.7.3-post-fixes
Personal tools
General
About This Wiki