From the NannyMUD documentation

LAST CHANGE

2001-09-09

FUNCTION


NAME

        _next_clone - Get the next clone of an object.

SYNTAX

	object _next_clone(object)

DESCRIPTION

	Returns the next clone of an object.
	This can be used to loop over all clones of an object.

EXAMPLE

	int nr_players()
	{
	  object a,b,c;
	  int i;

	  a = find_object("obj/player"); // Finds the master object.
	  b = _next_clone(a);            // Finds the first clone.

	  while (b != a)
	  {
	    c = _next_clone(b);
	    i++;
	    b = c;
	  }
	  return i-2;
	}

SEE ALSO

SEE ALSO

        _isclone in efun/object_related/_isclone
_isclone in efun/object_related/_isclone