OsGetAgents

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 21: Line 21:
  
 
[[Category:OSSL]]
 
[[Category:OSSL]]
 +
[[Category:OSSL functions without threat level]]

Revision as of 06:59, 8 June 2011

list osGetAgents()

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

//
// 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