OsGetAgents

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (some syntax modification (may be major or minor))
m (Added permissions and delay information)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=None
 
|threat_level=None
 +
|permissions=${XEngine\posslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
 +
|delay=None
 
|function_syntax=list osGetAgents()
 
|function_syntax=list osGetAgents()
 
|ossl_example=<source lang="lsl">
 
|ossl_example=<source lang="lsl">

Revision as of 08:44, 11 August 2016

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