OsGetGridHomeURI

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
 
//
 
//
 
// Example of osGetGridHomeUri()
 
// Example of osGetGridHomeUri()
// returns the value of SRV_HomeURI in Robust.ini / OpenSim.ini under [GridInfo] section
+
// 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 11: Line 12:
 
   state_entry()
 
   state_entry()
 
   {
 
   {
     llSay(0, "Grid Login Uri= "+osGetGridHomeURI());
+
     llSay(0, "Grid Home Uri= "+osGetGridHomeURI());
 
   }
 
   }
 
}
 
}

Revision as of 05:01, 24 February 2012

string osGetGridHomeURI()
Returns the current grid's home URI as a string.
Threat Level Moderate
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
//
// 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
{
  state_entry()
  {
     llSay(0, "Grid Home Uri= "+osGetGridHomeURI());
   }
}
Personal tools
General
About This Wiki