Author Topic: How do you list players?  (Read 302 times)

I'm making a chatbot and when I ask "Who's online?", I want it to list all the players in the game. I have everything set up except the bit of code where it lists the players. Thanks!

Code: [Select]
for(%i=0;%i<NPL_List.rowCount();%i++)
{
     %name = getField(NPL_List.getRowText(%i),1);
}
That bit of code loops through all of the names in the player list GUI.