OsGetAgents

From OpenSimulator

Jump to: navigation, search
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()));
    }
}
Personal tools
General
About This Wiki