OsGetAgents

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added permissions and delay information)
m (Changed method used to get a | to show in the permission information)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=None
 
|threat_level=None
|permissions=${XEngine\posslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
+
|permissions=${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
 
|delay=None
 
|delay=None
 
|function_syntax=list osGetAgents()
 
|function_syntax=list osGetAgents()

Revision as of 13:42, 11 August 2016

list osGetAgents()
Returns a list of all the agents names in the region.
Threat Level None
Permissions ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
Extra Delay None seconds
Example(s)
//
// Example of osGetAgents.
//
default
{
    state_entry()
    {
        // Demo-Script 
    }
    touch_start(integer total_number)
    {
        llSay (0, "Agents in sim: "+ llList2CSV(osGetAgents()));
    }
}
Personal tools
General
About This Wiki