The temp.pl thing you are describing is most likely a loop, declared as such:
PHP Code:
for(temp.pl : allplayers) {
What this does is loops through all the players on the server, but it behaves differently depending on whether it is clientside or serverside.
On the clientside, it will loop through all the players on the server and irc channels.
On the serverside, it will just loop through all the players on the server.
How it works is that each player it loops through will become the object (temp.pl), and you can read many different things such as .account, .x, .y, etc of that player.
Things like:
PHP Code:
temp.pl.x // Will display player's x position
temp.pl.communityname // Will display community name
For example:
PHP Code:
function onCreated() {
for(temp.pl : allplayers){ // Loops through all players on the server
temp.playerArray.add(temp.pl); // Adds players to the array
}
player.chat = temp.playerArray; // Displays the array via player chat
}
Hope this helped, Gunderak.