Advertisement
Dorex

Untitled

Jan 4th, 2024
1,456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. default
  2. {
  3.  
  4.     touch_start(integer total_number)
  5.     {
  6.         list userNames;
  7.         list sortedAgents = llGetAgentList(AGENT_LIST_PARCEL , []);
  8.         integer index = llGetListLength(sortedAgents);
  9.  
  10.         while (index--){
  11.             userNames += llGetUsername(llList2Key(sortedAgents, index));
  12.         }
  13.  
  14.         userNames = llListSort(userNames, 1, TRUE);
  15.  
  16.         llOwnerSay(llDumpList2String(userNames, "\n"));
  17.     }
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement