OsGetAgents

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Use 0 instead of text to say there is no delay.)
m (XEngine to OSSL)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=None
 
|threat_level=None
|permissions=${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
+
|permissions=${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
 
|delay=0
 
|delay=0
 
|function_syntax=list osGetAgents()
 
|function_syntax=list osGetAgents()

Revision as of 06:26, 7 November 2019

list osGetAgents()
Returns a list of all the agents names in the region.
Threat Level None
Permissions ${OSSL|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