2012-05-02

llGetAgentList has arrived on sim

We've just had a rolling restart here at Raven Park and it seems one change is that our server software now supports llGetAgentList(). So I just gave it a quick test:
default
{
touch_start(integer total_number)
{
list l = llGetAgentList( AGENT_LIST_REGION, [] );
integer iMax = llGetListLength( l );
integer i;
for ( i = 0; i < iMax; i++ )
{
llOwnerSay( llList2String( l, i ) + ", " + llKey2Name( llList2Key( l, i ) ) );
}
}
}

Works a treat too, so far. Now to have a think of some uses for this -- other than the obvious ones, of course. ;-)

No comments:

Post a Comment