OsGetAgents
From OpenSimulator
(Difference between revisions)
m (Added permissions and delay information) |
m (Script change) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
|threat_level=None | |threat_level=None | ||
− | |permissions=${ | + | |permissions=${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
− | |delay= | + | |delay=0 |
|function_syntax=list osGetAgents() | |function_syntax=list osGetAgents() | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
// | // | ||
− | // | + | // osGetAgents Script Example |
// | // | ||
+ | |||
default | default | ||
{ | { | ||
state_entry() | state_entry() | ||
{ | { | ||
− | + | llSay(PUBLIC_CHANNEL, "Touch to see osGetAgents usage."); | |
} | } | ||
− | touch_start(integer | + | |
+ | touch_start(integer number) | ||
{ | { | ||
− | llSay ( | + | llSay (PUBLIC_CHANNEL, "Agents in sim: " + llList2CSV(osGetAgents())); |
} | } | ||
− | }</source> | + | } |
+ | </source> | ||
|description=Returns a list of all the agents names in the region. | |description=Returns a list of all the agents names in the region. | ||
| | | | ||
}} | }} |
Latest revision as of 12:53, 24 November 2020
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) | |
// // osGetAgents Script Example // default { state_entry() { llSay(PUBLIC_CHANNEL, "Touch to see osGetAgents usage."); } touch_start(integer number) { llSay (PUBLIC_CHANNEL, "Agents in sim: " + llList2CSV(osGetAgents())); } } |