OsGetAgents

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Changed method used to get a | to show in the permission information)
m (Use 0 instead of text to say there is no delay.)
Line 2: Line 2:
 
|threat_level=None
 
|threat_level=None
 
|permissions=${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
 
|permissions=${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
|delay=None
+
|delay=0
 
|function_syntax=list osGetAgents()
 
|function_syntax=list osGetAgents()
 
|ossl_example=<source lang="lsl">
 
|ossl_example=<source lang="lsl">

Revision as of 10:36, 12 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 0 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