OsGetAgents

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
m
Line 2: Line 2:
 
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
 
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
 
|- valign="top"
 
|- valign="top"
|'''Threat Level''' || <Threat Level goes here>
+
|'''Threat Level''' || None
  
 
|- valign="top"
 
|- valign="top"
Line 26: Line 26:
  
 
|}
 
|}
 +
 
Returns a list of all the agents names in the region.  
 
Returns a list of all the agents names in the region.  
 +
 
[[Category:OSSL Functions]]
 
[[Category:OSSL Functions]]
[[Category:OSSL functions without threat level]]
 

Revision as of 12:13, 11 June 2011

OsGetAgents
Threat Level None
Function Syntax
list osGetAgents()
Example(s)
//
// Example of osGetAgents.
//
default
{
    state_entry()
    {
        // Demo-Script 
    }
    touch_start(integer total_number)
    {
        llSay (0, "Agents in sim: "+ llList2CSV(osGetAgents()));
    }
}

Returns a list of all the agents names in the region.

Personal tools
General
About This Wiki