OsGetAgents
From OpenSimulator
(Difference between revisions)
| Line 1: | Line 1: | ||
list osGetAgents() | list osGetAgents() | ||
| − | Returns a list of all the agents names in the region. | + | Returns a list of all the agents names in the region. |
<source lang="lsl"> | <source lang="lsl"> | ||
| Line 9: | Line 9: | ||
default | default | ||
{ | { | ||
| − | state_entry() | + | state_entry() |
| − | { | + | { |
| − | + | // Demo-Script | |
| − | } | + | } |
| − | + | touch_start(integer total_number) | |
| − | + | { | |
| − | + | llSay (0, "Agents in sim: "+ llList2CSV(osGetAgents())); | |
| − | + | } | |
}</source> | }</source> | ||
Revision as of 14:15, 16 January 2010
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())); } }