Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
How do you list players?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do you list players? (Read 302 times)
ShadowSpy123
January 06, 2012, 06:09:54 PM
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!
Ad Bot
Advertisement
Plornt
January 06, 2012, 06:48:36 PM
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.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
How do you list players?