Usage

Syntax: player.isexternal
Returns true or false.

Explanation

isexternal returns a true or false value depending on whether the player object is an external player. External players are player objects that appear in the players[] array because of the global playerlist or IRC channels.

Example

To filter out all IRC users and players from other servers, use:

function filter()
{
  temp.filtered = new [0];

  for (temp.pl: players)
  {
	if (!temp.pl.isexternal)
	{
	  temp.filtered.add(temp.pl);
	}
  }

  return temp.filtered;
}


Categories

CategoryBuiltInVariable
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki