Skip to content

Instantly share code, notes, and snippets.

@antonyfairport
Created May 2, 2012 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonyfairport/2578450 to your computer and use it in GitHub Desktop.
Save antonyfairport/2578450 to your computer and use it in GitHub Desktop.
llGetAgentList() 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 ) ) );
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment