act_comm.c:	     || ch->pcdata->clan->clan_type == CLAN_ORDER
act_comm.c:	     || ch->pcdata->clan->clan_type == CLAN_GUILD )
act_comm.c:	     || ch->pcdata->clan->clan_type != CLAN_ORDER )
act_comm.c:	if ( IS_NPC( ch ) || !ch->pcdata->clan || ch->pcdata->clan->clan_type != CLAN_GUILD )
act_info.c:		     && victim->pcdata->clan->badge
act_info.c:		     && ( victim->pcdata->clan->clan_type != CLAN_ORDER
act_info.c:		     && victim->pcdata->clan->clan_type != CLAN_GUILD ) )
act_info.c:					ch_printf_color( ch, "}R%s&D ", victim->pcdata->clan->badge );
act_info.c:					ch_printf_color( ch, "%s ", victim->pcdata->clan->badge );
act_info.c:		             &&  !str_cmp( wch->name, wch->pcdata->clan->leader )
act_info.c:		             &&   wch->pcdata->clan->leadrank[0] != '\0' )
act_info.c:		                class = wch->pcdata->clan->leadrank;
act_info.c:			     &&  !str_cmp( wch->name, wch->pcdata->clan->number1 )
act_info.c:		             &&   wch->pcdata->clan->onerank[0] != '\0' )
act_info.c:		                class = wch->pcdata->clan->onerank;
act_info.c:		             &&  !str_cmp( wch->name, wch->pcdata->clan->number2 )
act_info.c:		             &&   wch->pcdata->clan->tworank[0] != '\0' )
act_info.c:		                class = wch->pcdata->clan->tworank;
act_info.c:			if (wch->pcdata->clan->alignment == CLANALIGN_GOOD)
act_info.c:			else if (wch->pcdata->clan->alignment == CLANALIGN_EVIL)
act_info.c:			if ( pclan->clan_type == CLAN_GUILD )
act_info.c:			if ( pclan->clan_type == CLAN_ORDER )
act_info.c:				if ( pclan->clan_type == CLAN_GUILD )
act_info.c:			strcat( clan_name, pclan->name );
act_info.c:			if ( pclan->clan_type == CLAN_GUILD )
act_info.c:				          && victim->pcdata->clan->clan_type != CLAN_ORDER
act_info.c:				          && victim->pcdata->clan->clan_type != CLAN_GUILD )
act_info.c:								ch_printf_color( ch, "}R%-18s&D\t ", victim->pcdata->clan->badge );
act_info.c:								ch_printf_color( ch, "%-18s\t", victim->pcdata->clan->badge );
act_info.c:			           || (ch->pcdata->clan->class != skill_table[sn]->guild) ) ) )
act_info.c:			     && ch->pcdata->clan->class != skill_table[sn]->guild )
act_info.c:			if ( ch->pcdata->clan->clan_type == CLAN_ORDER )
act_info.c:			else if ( ch->pcdata->clan->clan_type == CLAN_GUILD )
act_info.c:		           || (ch->pcdata->clan->class != skill_table[sn]->guild) ) ) )
act_info.c:		           || (ch->pcdata->clan->class != skill_table[sn]->guild) ) ) )
act_info.c:		if ( victim->pcdata->clan->clan_type == CLAN_ORDER )
act_info.c:			if ( victim->pcdata->clan->clan_type == CLAN_GUILD )
act_info.c:		send_to_pager( victim->pcdata->clan->name, ch );
act_info.c:			           || (ch->pcdata->clan->class != skill_table[sn]->guild) ) ) )
act_info.c:				     && ch->pcdata->clan->class != skill_table[sn]->guild )
act_obj.c:		for ( clan = first_clan; clan; clan = clan->next )
act_obj.c:			if ( clan->storeroom == ch->in_room->vnum )
act_obj.c:			for ( clan = first_clan; clan; clan = clan->next )
act_obj.c:				if ( clan->storeroom == ch->in_room->vnum )
act_obj.c:			for ( clan = first_clan; clan; clan = clan->next )
act_obj.c:				if ( clan->storeroom == ch->in_room->vnum )
act_obj.c:			for ( clan = first_clan; clan; clan = clan->next )
act_obj.c:				if ( clan->storeroom == ch->in_room->vnum )
act_obj.c:	else if ( !IS_NPC( ch ) && ch->pcdata->clan && ch->pcdata->clan->deity[0] != '\0' )
act_obj.c:		strcpy( name, ch->pcdata->clan->deity );
act_obj.c:	sprintf( filename, "%s%s.vault", CLAN_DIR, clan->filename );
act_wiz.c:		                    victim->pcdata->clan->clan_type == CLAN_ORDER ? "Order" :
act_wiz.c:		                    victim->pcdata->clan->clan_type == CLAN_GUILD ? "Guild" : "Clan",
act_wiz.c:		                    victim->pcdata->clan->name );
act_wiz.c:		              if ( victim->pcdata->clan->clan_type == CLAN_GUILD)
act_wiz.c:				              if (skill_table[sn]->guild == victim->pcdata->clan->class
act_wiz.c:		              --victim->pcdata->clan->members;
act_wiz.c:		              if (!str_cmp (victim->name, victim->pcdata->clan->leader1) )
act_wiz.c:			              STRFREE (victim->pcdata->clan->leader1);
act_wiz.c:			              victim->pcdata->clan->leader1 = STRALLOC ("");
act_wiz.c:		              if (!str_cmp (victim->name, victim->pcdata->clan->leader2) )
act_wiz.c:			              STRFREE (victim->pcdata->clan->leader2);
act_wiz.c:			              victim->pcdata->clan->leader2 = STRALLOC ("");
act_wiz.c:		              if (!str_cmp (victim->name, victim->pcdata->clan->leader3) )
act_wiz.c:			              STRFREE (victim->pcdata->clan->leader3);
act_wiz.c:			              victim->pcdata->clan->leader3 = STRALLOC ("");
act_wiz.c:		              if (!str_cmp (victim->name, victim->pcdata->clan->leader4) )
act_wiz.c:			              STRFREE (victim->pcdata->clan->leader4);
act_wiz.c:			              victim->pcdata->clan->leader4 = STRALLOC ("");
act_wiz.c:		              if (!str_cmp (victim->name, victim->pcdata->clan->leader5) )
act_wiz.c:			              STRFREE (victim->pcdata->clan->leader5);
act_wiz.c:			              victim->pcdata->clan->leader5 = STRALLOC ("");
act_wiz.c:		              if (!str_cmp (victim->name, victim->pcdata->clan->leader6) )
act_wiz.c:			              STRFREE (victim->pcdata->clan->leader6);
act_wiz.c:			              victim->pcdata->clan->leader6 = STRALLOC ("");
act_wiz.c:		location = get_room_index(victim->pcdata->clan->recall);
act_wiz.c:						clan->fRank7Count--;
act_wiz.c:						clan->mRank7Count--;
act_wiz.c:						clan->fRank6Count--;
act_wiz.c:						clan->mRank6Count--;
act_wiz.c:						clan->fRank5Count--;
act_wiz.c:						clan->mRank5Count--;
act_wiz.c:						clan->fRank4Count--;
act_wiz.c:						clan->mRank4Count--;
act_wiz.c:						clan->fRank3Count--;
act_wiz.c:						clan->mRank3Count--;
act_wiz.c:						clan->fRank2Count--;
act_wiz.c:						clan->mRank2Count--;
act_wiz.c:						clan->fRank1Count--;
act_wiz.c:						clan->mRank1Count--;
act_wiz.c:						clan->fRank7Count++;
act_wiz.c:						clan->mRank7Count++;
act_wiz.c:						clan->fRank6Count++;
act_wiz.c:						clan->mRank6Count++;
act_wiz.c:						clan->fRank5Count++;
act_wiz.c:						clan->mRank5Count++;
act_wiz.c:						clan->fRank4Count++;
act_wiz.c:						clan->mRank4Count++;
act_wiz.c:						clan->fRank3Count++;
act_wiz.c:						clan->mRank3Count++;
act_wiz.c:						clan->fRank2Count++;
act_wiz.c:						clan->mRank2Count++;
act_wiz.c:						clan->fRank1Count++;
act_wiz.c:						clan->mRank1Count++;
act_wiz.c:				--victim->pcdata->clan->members;
act_wiz.c:			--victim->pcdata->clan->members;
act_wiz.c:		victim->pcdata->clan_name = QUICKLINK( clan->name );
act_wiz.c:			++victim->pcdata->clan->members;
act_wiz.c:	if (victim->pcdata->clan && victim->pcdata->clan->clan_type != CLAN_ORDER && victim->pcdata->clan->clan_type != CLAN_GUILD )
act_wiz.c:		             victim->pcdata->clan->name, victim->pcdata->clan->pkills[6],
act_wiz.c:		             (victim->pcdata->clan->pkills[1] + victim->pcdata->clan->pkills[2] +
act_wiz.c:		              victim->pcdata->clan->pkills[3] + victim->pcdata->clan->pkills[4] +
act_wiz.c:		              victim->pcdata->clan->pkills[5]) );
act_wiz.c:		             victim->pcdata->clan->pdeaths[6],
act_wiz.c:		             ( victim->pcdata->clan->pdeaths[1] + victim->pcdata->clan->pdeaths[2] +
act_wiz.c:		               victim->pcdata->clan->pdeaths[3] + victim->pcdata->clan->pdeaths[4] +
act_wiz.c:		               victim->pcdata->clan->pdeaths[5] ) );
act_wiz.c:	if (victim->pcdata->clan && victim->pcdata->clan->clan_type == CLAN_ORDER )
act_wiz.c:		             victim->pcdata->clan->name, victim->pcdata->clan->mkills, victim->pcdata->clan->mdeaths);
act_wiz.c:	if (victim->pcdata->clan && victim->pcdata->clan->clan_type == CLAN_GUILD )
act_wiz.c:		             victim->pcdata->clan->name, victim->pcdata->clan->mkills, victim->pcdata->clan->mdeaths);
act_wiz.c:				--victim->pcdata->clan->members;
act_wiz.c:			--victim->pcdata->clan->members;
act_wiz.c:		victim->pcdata->clan_name = QUICKLINK( clan->name );
act_wiz.c:			++victim->pcdata->clan->members;
board.c:		if (ch->pcdata->clan && is_full_name (ch->pcdata->clan->name, note->to_list))
board.c:		if (ch->pcdata->clan && is_full_name (ch->pcdata->clan->name, note->to_list))
boards.c:		if ( ch->pcdata->clan && !str_cmp( ch->pcdata->clan->name, board->read_group ) )
boards.c:		if ( ch->pcdata->clan && !str_cmp( ch->pcdata->clan->name, board->post_group ) )
build.c:  	        --victim->pcdata->clan->members; 
build.c:		--victim->pcdata->clan->members; 
build.c:	victim->pcdata->clan_name = QUICKLINK( clan->name );
build.c:	   ++victim->pcdata->clan->members; 
clans.c:				return ch->pcdata->clan->fRank1;
clans.c:				return ch->pcdata->clan->fRank2;
clans.c:				return ch->pcdata->clan->fRank3;
clans.c:				return ch->pcdata->clan->fRank4;
clans.c:				return ch->pcdata->clan->fRank5;
clans.c:				return ch->pcdata->clan->fRank6;
clans.c:				return ch->pcdata->clan->fRank7;
clans.c:				return ch->pcdata->clan->mRank1;
clans.c:				return ch->pcdata->clan->mRank2;
clans.c:				return ch->pcdata->clan->mRank3;
clans.c:				return ch->pcdata->clan->mRank4;
clans.c:				return ch->pcdata->clan->mRank5;
clans.c:				return ch->pcdata->clan->mRank6;
clans.c:				return ch->pcdata->clan->mRank7;
clans.c:		bug("get_alliance: No alliance data found for %s and %s", clan->name, vclan->name);
clans.c:	for ( clan = first_clan; clan; clan = clan->next )
clans.c:	if ((!str_cmp(alliance->leader1Vote, clan->leader1)
clans.c:		|| !str_cmp(alliance->leader1Vote, clan->leader2)
clans.c:		|| !str_cmp(alliance->leader1Vote, clan->leader3)
clans.c:		|| !str_cmp(alliance->leader1Vote, clan->leader4)
clans.c:		|| !str_cmp(alliance->leader1Vote, clan->leader5)
clans.c:		|| !str_cmp(alliance->leader1Vote, clan->leader6))
clans.c:		&&(!str_cmp(alliance->leader2Vote, clan->leader1)
clans.c:		|| !str_cmp(alliance->leader2Vote, clan->leader2)
clans.c:		|| !str_cmp(alliance->leader2Vote, clan->leader3)
clans.c:		|| !str_cmp(alliance->leader2Vote, clan->leader4)
clans.c:		|| !str_cmp(alliance->leader2Vote, clan->leader5)
clans.c:		|| !str_cmp(alliance->leader2Vote, clan->leader6))
clans.c:	if (!str_cmp( ch->name, clan->leader1) || !str_cmp( ch->name, clan->leader2)
clans.c:		|| !str_cmp( ch->name, clan->leader3) || !str_cmp( ch->name, clan->leader4)
clans.c:		|| !str_cmp( ch->name, clan->leader5) || !str_cmp( ch->name, clan->leader6))
clans.c:	if (!str_cmp( ch->name, clan->deity))
clans.c:	sprintf(buf, "%s has decided to change their alliance with your clan to %s.", clan->name, clan_alliance_type[alliance->newStatus]);
clans.c:	sprintf(buf, "Your clan has decided to change their alliance with %s to %s.", vclan->name, clan_alliance_type[alliance->newStatus]);
clans.c:		pager_printf(ch, "Your clan is now at war with %s.\n\r", vclan->name );
clans.c:		sprintf(buf, "%s and %s have begun a massive clan war!\n\r", clan->name, vclan->name);
clans.c:		pager_printf(ch, "You have put your vote in for war with %s, but both clans have yet to agree on war.\n\r", vclan->name );
clans.c:		sprintf(buf, "%s has voted to go to war with %s!", ch->name, clan->name);
clans.c:		sprintf(buf, "%s has voted to go to war with %s!", clan->name, vclan->name);
clans.c:		pager_printf(ch, "&w%-43s %15s %12s\n\r", alliance->vclan->name,
clans.c:    for ( clan = first_clan; clan; clan = clan->next )
clans.c:       if ( !str_cmp( name, clan->name ) || !str_cmp( name, clan->short_name ))
clans.c:	for (clan = first_clan; clan; clan = clan->next)
clans.c:				fprintf( fp, "Alliance %s~ %s~ %d %d %d %s~ %s~\n", alliance->clan->short_name,
clans.c:					alliance->vclan->short_name, alliance->status,
clans.c:    for ( tclan = first_clan; tclan; tclan = tclan->next )
clans.c:	fprintf( fpout, "%s\n", tclan->filename );
clans.c:    if ( !clan->filename || clan->filename[0] == '\0' )
clans.c:	sprintf( buf, "save_clan: %s has no filename", clan->name );
clans.c:    sprintf( filename, "%s%s", CLAN_DIR, clan->filename );
clans.c:	fprintf( fp, "Name         %s~\n",	clan->name		);
clans.c:	fprintf( fp, "ShortName    %s~\n",	clan->short_name		);
clans.c:	fprintf( fp, "Filename     %s~\n",	clan->filename		);
clans.c:	fprintf( fp, "Motto        %s~\n",	clan->motto		);
clans.c:	fprintf( fp, "Description  %s~\n",	clan->description	);
clans.c:	if (clan->clanHQ)
clans.c:		fprintf( fp, "ClanHQ       %s~\n",	clan->clanHQ->filename		);
clans.c:	fprintf( fp, "Deity        %s~\n",	clan->deity		);
clans.c:	fprintf( fp, "Leader1      %s~\n",	clan->leader1		);
clans.c:	fprintf( fp, "Leader2      %s~\n",	clan->leader2		);
clans.c:	fprintf( fp, "Leader3      %s~\n",	clan->leader3		);
clans.c:	fprintf( fp, "Leader4      %s~\n",	clan->leader4		);
clans.c:	fprintf( fp, "Leader5      %s~\n",	clan->leader5		);
clans.c:	fprintf( fp, "Leader6      %s~\n",	clan->leader6		);
clans.c:	fprintf( fp, "Badge        %s~\n",	clan->badge		);
clans.c:	fprintf( fp, "MaleRank1    %s~\n",	clan->mRank1		);
clans.c:	fprintf( fp, "MaleRank2    %s~\n",	clan->mRank2		);
clans.c:	fprintf( fp, "MaleRank3    %s~\n",	clan->mRank3		);
clans.c:	fprintf( fp, "MaleRank4    %s~\n",	clan->mRank4		);
clans.c:	fprintf( fp, "MaleRank5    %s~\n",	clan->mRank5		);
clans.c:	fprintf( fp, "MaleRank6    %s~\n",	clan->mRank6		);
clans.c:	fprintf( fp, "MaleRank7    %s~\n",	clan->mRank7		);
clans.c:	fprintf( fp, "FemaleRank1  %s~\n",	clan->fRank1		);
clans.c:	fprintf( fp, "FemaleRank2  %s~\n",	clan->fRank2		);
clans.c:	fprintf( fp, "FemaleRank3  %s~\n",	clan->fRank3		);
clans.c:	fprintf( fp, "FemaleRank4  %s~\n",	clan->fRank4		);
clans.c:	fprintf( fp, "FemaleRank5  %s~\n",	clan->fRank5		);
clans.c:	fprintf( fp, "FemaleRank6  %s~\n",	clan->fRank6		);
clans.c:	fprintf( fp, "FemaleRank7  %s~\n",	clan->fRank7		);
clans.c:	fprintf( fp, "MaleRank1C   %d\n",	clan->mRank1Count		);
clans.c:	fprintf( fp, "MaleRank2C   %d\n",	clan->mRank2Count		);
clans.c:	fprintf( fp, "MaleRank3C   %d\n",	clan->mRank3Count		);
clans.c:	fprintf( fp, "MaleRank4C   %d\n",	clan->mRank4Count		);
clans.c:	fprintf( fp, "MaleRank5C   %d\n",	clan->mRank5Count		);
clans.c:	fprintf( fp, "MaleRank6C   %d\n",	clan->mRank6Count		);
clans.c:	fprintf( fp, "MaleRank7C   %d\n",	clan->mRank7Count		);
clans.c:	fprintf( fp, "FemaleRank1C %d\n",	clan->fRank1Count		);
clans.c:	fprintf( fp, "FemaleRank2C %d\n",	clan->fRank2Count		);
clans.c:	fprintf( fp, "FemaleRank3C %d\n",	clan->fRank3Count		);
clans.c:	fprintf( fp, "FemaleRank4C %d\n",	clan->fRank4Count		);
clans.c:	fprintf( fp, "FemaleRank5C %d\n",	clan->fRank5Count		);
clans.c:	fprintf( fp, "FemaleRank6C %d\n",	clan->fRank6Count		);
clans.c:	fprintf( fp, "FemaleRank7C %d\n",	clan->fRank7Count		);
clans.c:		clan->pkills[0], clan->pkills[1], clan->pkills[2],
clans.c:		clan->pkills[3], clan->pkills[4], clan->pkills[5],
clans.c:		clan->pkills[6]);
clans.c:		clan->pdeaths[0], clan->pdeaths[1], clan->pdeaths[2],
clans.c:		clan->pdeaths[3], clan->pdeaths[4], clan->pdeaths[5],
clans.c:		clan->pdeaths[6]);
clans.c:		clan->spar_wins[0], clan->spar_wins[1], clan->spar_wins[2],
clans.c:		clan->spar_wins[3], clan->spar_wins[4], clan->spar_wins[5],
clans.c:		clan->spar_wins[6]);
clans.c:		clan->spar_loss[0], clan->spar_loss[1], clan->spar_loss[2],
clans.c:		clan->spar_loss[3], clan->spar_loss[4], clan->spar_loss[5],
clans.c:		clan->spar_loss[6]);
clans.c:	fprintf( fp, "MKills       %d\n",	clan->mkills		);
clans.c:	fprintf( fp, "MDeaths      %d\n",	clan->mdeaths		);
clans.c:	fprintf( fp, "IllegalPK    %d\n",	clan->illegal_pk	);
clans.c:	fprintf( fp, "Score        %d\n",	clan->score		);
clans.c:	fprintf( fp, "ClanPL       %.0Lf\n",	clan->clanPL		);
clans.c:	fprintf( fp, "Type         %d\n",	clan->clan_type		);
clans.c:	fprintf( fp, "Class        %d\n",	clan->class		);
clans.c:	fprintf( fp, "Favour       %d\n",	clan->favour		);
clans.c:	fprintf( fp, "Strikes      %d\n",	clan->strikes		);
clans.c:	fprintf( fp, "Members      %d\n",	clan->members		);
clans.c:	fprintf( fp, "Active       %d\n",	clan->activeMem		);
clans.c:	fprintf( fp, "MemLimit     %d\n",	clan->mem_limit		);
clans.c:	fprintf( fp, "Alignment    %d\n",	clan->alignment		);
clans.c:	fprintf( fp, "Board        %d\n",	clan->board		);
clans.c:	fprintf( fp, "ClanObjOne   %d\n",	clan->clanobj1		);
clans.c:	fprintf( fp, "ClanObjTwo   %d\n",	clan->clanobj2		);
clans.c:	fprintf( fp, "ClanObjThree %d\n",	clan->clanobj3		);
clans.c:    fprintf( fp, "ClanObjFour  %d\n",	clan->clanobj4		);
clans.c:	fprintf( fp, "ClanObjFive  %d\n", 	clan->clanobj5		);
clans.c:	fprintf( fp, "Recall       %d\n",	clan->recall		);
clans.c:	fprintf( fp, "Storeroom    %d\n",	clan->storeroom		);
clans.c:	fprintf( fp, "DeathRecall  %d\n",	clan->deathRecall		);
clans.c:	fprintf( fp, "Morgue       %d\n",	clan->clanMorgue		);
clans.c:	fprintf( fp, "Donate       %d\n",	clan->clanDonate		);
clans.c:	fprintf( fp, "Jail         %d\n",	clan->clanJail		);
clans.c:	fprintf( fp, "GuardOne     %d\n",	clan->guard1		);
clans.c:	fprintf( fp, "GuardTwo     %d\n",	clan->guard2		);
clans.c:	fprintf( fp, "ClanSkill1   %d\n",	clan->clanSkill1		);
clans.c:	fprintf( fp, "ClanSkill2   %d\n",	clan->clanSkill2		);
clans.c:	fprintf( fp, "ClanSkill3   %d\n",	clan->clanSkill3		);
clans.c:	fprintf( fp, "URL          %s~\n",	clan->clanWebSite		);
clans.c:	fprintf( fp, "TaxRate      %d\n",	clan->tax		);
clans.c:	fprintf( fp, "Bank         %.0f\n",	clan->bank		);
clans.c:    clan->mem_limit = 0;  /* Set up defaults */
clans.c:	    KEY( "Alignment",	clan->alignment,	fread_number( fp ) );
clans.c:	    KEY( "Active",	clan->activeMem,	fread_number( fp ) );
clans.c:        KEY( "Badge",       clan->badge,            fread_string( fp ) );
clans.c:	    KEY( "Bank",	clan->bank,		fread_number_skill( fp ) ); //used skill since it reads doubles
clans.c:	    KEY( "Board",	clan->board,		fread_number( fp ) );
clans.c:        			clan->clanHQ = clanHQ;
clans.c:	    KEY( "ClanSkill1",	clan->clanSkill1,		fread_number( fp ) );
clans.c:	    KEY( "ClanSkill2",	clan->clanSkill2,		fread_number( fp ) );
clans.c:	    KEY( "ClanSkill3",	clan->clanSkill3,		fread_number( fp ) );
clans.c:	    KEY( "ClanObjOne",	clan->clanobj1,		fread_number( fp ) );
clans.c:	    KEY( "ClanObjTwo",	clan->clanobj2,		fread_number( fp ) );
clans.c:	    KEY( "ClanObjThree",clan->clanobj3,		fread_number( fp ) );
clans.c:        KEY( "ClanObjFour", clan->clanobj4,         fread_number( fp ) );
clans.c:        KEY( "ClanObjFive", clan->clanobj5,         fread_number( fp ) );
clans.c:	    KEY( "Class",	clan->class,		fread_number( fp ) );
clans.c:	    KEY( "ClanPL",	clan->clanPL,		fread_number_ld( fp ) );
clans.c:	    KEY( "DeathRecall",	clan->deathRecall,		fread_number( fp ) );
clans.c:	    KEY( "Donate",	clan->clanDonate,		fread_number( fp ) );
clans.c:	    KEY( "Deity",	clan->deity,		fread_string( fp ) );
clans.c:	    KEY( "Description",	clan->description,	fread_string( fp ) );
clans.c:		if (!clan->name)
clans.c:		  clan->name		= STRALLOC( "" );
clans.c:		if (!clan->leader1)
clans.c:		  clan->leader1		= STRALLOC( "" );
clans.c:		if (!clan->leader2)
clans.c:		  clan->leader2		= STRALLOC( "" );
clans.c:		if (!clan->leader3)
clans.c:		  clan->leader3		= STRALLOC( "" );
clans.c:		if (!clan->leader4)
clans.c:		  clan->leader4		= STRALLOC( "" );
clans.c:		if (!clan->leader5)
clans.c:		  clan->leader5		= STRALLOC( "" );
clans.c:		if (!clan->leader6)
clans.c:		  clan->leader6		= STRALLOC( "" );
clans.c:		if (!clan->description)
clans.c:		  clan->description 	= STRALLOC( "" );
clans.c:		if (!clan->motto)
clans.c:		  clan->motto		= STRALLOC( "" );
clans.c:		if (!clan->deity)
clans.c:		  clan->deity		= STRALLOC( "" );
clans.c:		if (!clan->badge)
clans.c:	  	  clan->badge		= STRALLOC( "" );
clans.c:		if (!clan->clanWebSite)
clans.c:	  	  clan->clanWebSite		= STRALLOC( "" );
clans.c:		if (!clan->clanHQ)
clans.c:	  	  clan->clanHQ		= NULL;
clans.c:		if (!clan->mRank1)
clans.c:	  	  clan->mRank1		= STRALLOC( "" );
clans.c:		if (!clan->mRank2)
clans.c:	  	  clan->mRank2		= STRALLOC( "" );
clans.c:		if (!clan->mRank3)
clans.c:	  	  clan->mRank3		= STRALLOC( "" );
clans.c:		if (!clan->mRank4)
clans.c:	  	  clan->mRank4		= STRALLOC( "" );
clans.c:		if (!clan->mRank5)
clans.c:	  	  clan->mRank5		= STRALLOC( "" );
clans.c:		if (!clan->mRank6)
clans.c:	  	  clan->mRank6		= STRALLOC( "" );
clans.c:		if (!clan->mRank7)
clans.c:	  	  clan->mRank7		= STRALLOC( "" );
clans.c:		if (!clan->fRank1)
clans.c:	  	  clan->fRank1		= STRALLOC( "" );
clans.c:		if (!clan->fRank2)
clans.c:	  	  clan->fRank2		= STRALLOC( "" );
clans.c:		if (!clan->fRank3)
clans.c:	  	  clan->fRank3		= STRALLOC( "" );
clans.c:		if (!clan->fRank4)
clans.c:	  	  clan->fRank4		= STRALLOC( "" );
clans.c:		if (!clan->fRank5)
clans.c:	  	  clan->fRank5		= STRALLOC( "" );
clans.c:		if (!clan->fRank6)
clans.c:	  	  clan->fRank6		= STRALLOC( "" );
clans.c:		if (!clan->fRank7)
clans.c:	  	  clan->fRank7		= STRALLOC( "" );
clans.c:	    KEY( "Favour",	clan->favour,		fread_number( fp ) );
clans.c:	    KEY( "Filename",	clan->filename,		fread_string_nohash( fp ) );
clans.c:	    KEY( "FemaleRank1",	clan->fRank1,		fread_string( fp ) );
clans.c:	    KEY( "FemaleRank2",	clan->fRank2,		fread_string( fp ) );
clans.c:	    KEY( "FemaleRank3",	clan->fRank3,		fread_string( fp ) );
clans.c:	    KEY( "FemaleRank4",	clan->fRank4,		fread_string( fp ) );
clans.c:	    KEY( "FemaleRank5",	clan->fRank5,		fread_string( fp ) );
clans.c:	    KEY( "FemaleRank6",	clan->fRank6,		fread_string( fp ) );
clans.c:	    KEY( "FemaleRank7",	clan->fRank7,		fread_string( fp ) );
clans.c:	    KEY( "FemaleRank1C",	clan->fRank1Count,		fread_number( fp ) );
clans.c:	    KEY( "FemaleRank2C",	clan->fRank2Count,		fread_number( fp ) );
clans.c:	    KEY( "FemaleRank3C",	clan->fRank3Count,		fread_number( fp ) );
clans.c:	    KEY( "FemaleRank4C",	clan->fRank4Count,		fread_number( fp ) );
clans.c:	    KEY( "FemaleRank5C",	clan->fRank5Count,		fread_number( fp ) );
clans.c:	    KEY( "FemaleRank6C",	clan->fRank6Count,		fread_number( fp ) );
clans.c:	    KEY( "FemaleRank7C",	clan->fRank7Count,		fread_number( fp ) );
clans.c:	    KEY( "GuardOne",	clan->guard1,		fread_number( fp ) );
clans.c:	    KEY( "GuardTwo",	clan->guard2,		fread_number( fp ) );
clans.c:	    KEY( "IllegalPK",	clan->illegal_pk,	fread_number( fp ) );
clans.c:	    KEY( "Jail",	clan->clanJail,	fread_number( fp ) );
clans.c:	    KEY( "Leader1",	clan->leader1,		fread_string( fp ) );
clans.c:	    KEY( "Leader2",	clan->leader2,		fread_string( fp ) );
clans.c:	    KEY( "Leader3",	clan->leader3,		fread_string( fp ) );
clans.c:	    KEY( "Leader4",	clan->leader4,		fread_string( fp ) );
clans.c:	    KEY( "Leader5",	clan->leader5,		fread_string( fp ) );
clans.c:	    KEY( "Leader6",	clan->leader6,		fread_string( fp ) );
clans.c:	    KEY( "MDeaths",	clan->mdeaths,		fread_number( fp ) );
clans.c:	    KEY( "Members",	clan->members,		fread_number( fp ) );
clans.c:	    KEY( "MemLimit",	clan->mem_limit,	fread_number( fp ) );
clans.c:	    KEY( "MKills",	clan->mkills,		fread_number( fp ) );
clans.c:	    KEY( "Motto",	clan->motto,		fread_string( fp ) );
clans.c:	    KEY( "MaleRank1",	clan->mRank1,		fread_string( fp ) );
clans.c:	    KEY( "MaleRank2",	clan->mRank2,		fread_string( fp ) );
clans.c:	    KEY( "MaleRank3",	clan->mRank3,		fread_string( fp ) );
clans.c:	    KEY( "MaleRank4",	clan->mRank4,		fread_string( fp ) );
clans.c:	    KEY( "MaleRank5",	clan->mRank5,		fread_string( fp ) );
clans.c:	    KEY( "MaleRank6",	clan->mRank6,		fread_string( fp ) );
clans.c:	    KEY( "MaleRank7",	clan->mRank7,		fread_string( fp ) );
clans.c:	    KEY( "MaleRank1C",	clan->mRank1Count,		fread_number( fp ) );
clans.c:	    KEY( "MaleRank2C",	clan->mRank2Count,		fread_number( fp ) );
clans.c:	    KEY( "MaleRank3C",	clan->mRank3Count,		fread_number( fp ) );
clans.c:	    KEY( "MaleRank4C",	clan->mRank4Count,		fread_number( fp ) );
clans.c:	    KEY( "MaleRank5C",	clan->mRank5Count,		fread_number( fp ) );
clans.c:	    KEY( "MaleRank6C",	clan->mRank6Count,		fread_number( fp ) );
clans.c:	    KEY( "MaleRank7C",	clan->mRank7Count,		fread_number( fp ) );
clans.c:	    KEY( "Morgue",	clan->clanMorgue,		fread_number( fp ) );
clans.c:	    KEY( "Name",	clan->name,		fread_string( fp ) );
clans.c:	    KEY( "PDeaths",	clan->pdeaths[6],	fread_number( fp ) );
clans.c:	    KEY( "PKills",	clan->pkills[6],	fread_number( fp ) );
clans.c:		clan->pdeaths[0] = fread_number( fp );
clans.c:		clan->pdeaths[1] = fread_number( fp );
clans.c:		clan->pdeaths[2] = fread_number( fp );
clans.c:		clan->pdeaths[3] = fread_number( fp );
clans.c:		clan->pdeaths[4] = fread_number( fp );
clans.c:		clan->pdeaths[5] = fread_number( fp );
clans.c:		clan->pdeaths[6] = fread_number( fp );
clans.c:		clan->pkills[0] = fread_number( fp );
clans.c:		clan->pkills[1] = fread_number( fp );
clans.c:		clan->pkills[2] = fread_number( fp );
clans.c:		clan->pkills[3] = fread_number( fp );
clans.c:		clan->pkills[4] = fread_number( fp );
clans.c:		clan->pkills[5] = fread_number( fp );
clans.c:		clan->pkills[6] = fread_number( fp );
clans.c:	    KEY( "Recall",	clan->recall,		fread_number( fp ) );
clans.c:	    KEY( "ShortName",	clan->short_name,		fread_string( fp ) );
clans.c:	    KEY( "Score",	clan->score,		fread_number( fp ) );
clans.c:		clan->spar_loss[0] = fread_number( fp );
clans.c:		clan->spar_loss[1] = fread_number( fp );
clans.c:		clan->spar_loss[2] = fread_number( fp );
clans.c:		clan->spar_loss[3] = fread_number( fp );
clans.c:		clan->spar_loss[4] = fread_number( fp );
clans.c:		clan->spar_loss[5] = fread_number( fp );
clans.c:		clan->spar_loss[6] = fread_number( fp );
clans.c:		clan->spar_wins[0] = fread_number( fp );
clans.c:		clan->spar_wins[1] = fread_number( fp );
clans.c:		clan->spar_wins[2] = fread_number( fp );
clans.c:		clan->spar_wins[3] = fread_number( fp );
clans.c:		clan->spar_wins[4] = fread_number( fp );
clans.c:		clan->spar_wins[5] = fread_number( fp );
clans.c:		clan->spar_wins[6] = fread_number( fp );
clans.c:	    KEY( "Strikes",	clan->strikes,		fread_number( fp ) );
clans.c:	    KEY( "Storeroom",	clan->storeroom,	fread_number( fp ) );
clans.c:	    KEY( "TaxRate",	clan->tax,	fread_number( fp ) );
clans.c:	    KEY( "Type",	clan->clan_type,	fread_number( fp ) );
clans.c:	    KEY( "URL",	clan->clanWebSite,		fread_string( fp ) );
clans.c:    clan->members = clan->fRank1Count + clan->fRank2Count + clan->fRank3Count + clan->fRank4Count;
clans.c:    clan->members+= clan->fRank5Count + clan->fRank6Count + clan->fRank7Count;
clans.c:    clan->members+= clan->mRank1Count + clan->mRank2Count + clan->mRank3Count + clan->mRank4Count;
clans.c:    clan->members+= clan->mRank5Count + clan->mRank6Count + clan->mRank7Count;
clans.c:    clan->pkills[0] = 0;
clans.c:    clan->pkills[1] = 0;
clans.c:    clan->pkills[2] = 0;
clans.c:    clan->pkills[3] = 0;
clans.c:    clan->pkills[4] = 0;
clans.c:    clan->pkills[5] = 0;
clans.c:    clan->pkills[6] = 0;
clans.c:    clan->pdeaths[0]= 0;
clans.c:    clan->pdeaths[1]= 0;
clans.c:    clan->pdeaths[2]= 0;
clans.c:    clan->pdeaths[3]= 0;
clans.c:    clan->pdeaths[4]= 0;
clans.c:    clan->pdeaths[5]= 0;
clans.c:    clan->pdeaths[6]= 0;
clans.c:    clan->spar_wins[0] = 0;
clans.c:    clan->spar_wins[1] = 0;
clans.c:    clan->spar_wins[2] = 0;
clans.c:    clan->spar_wins[3] = 0;
clans.c:    clan->spar_wins[4] = 0;
clans.c:    clan->spar_wins[5] = 0;
clans.c:    clan->spar_wins[6] = 0;
clans.c:    clan->spar_loss[0] = 0;
clans.c:    clan->spar_loss[1] = 0;
clans.c:    clan->spar_loss[2] = 0;
clans.c:    clan->spar_loss[3] = 0;
clans.c:    clan->spar_loss[4] = 0;
clans.c:    clan->spar_loss[5] = 0;
clans.c:    clan->spar_loss[6] = 0;
clans.c:         if( !load_member_list( clan->filename ) )
clans.c:             members_list->name = STRALLOC( clan->name );
clans.c:	if ( clan->storeroom == 0
clans.c:	|| (storeroom = get_room_index( clan->storeroom )) == NULL )
clans.c:	sprintf( filename, "%s%s.vault", CLAN_DIR, clan->filename );
clans.c:		    bug( clan->name, 0 );
clans.c:		    bug( clan->name, 0 );
clans.c:    pObjIndex = get_obj_index( clan->clanobj1 );
clans.c:      pObjIndex = get_obj_index( clan->clanobj2 );
clans.c:      pObjIndex = get_obj_index( clan->clanobj3 );
clans.c:      pObjIndex = get_obj_index( clan->clanobj4 );
clans.c:      pObjIndex = get_obj_index( clan->clanobj5 );
clans.c:    if ( clan->clan_type == CLAN_GUILD )
clans.c:	if ( victim->class != clan->class)
clans.c:      if ( victim->pcdata->clan->clan_type == CLAN_ORDER )
clans.c:      if ( victim->pcdata->clan->clan_type == CLAN_GUILD )
clans.c:    if ( clan->mem_limit && clan->members >= clan->mem_limit )
clans.c:    clan->members++;
clans.c:    if ( clan->clan_type != CLAN_ORDER && clan->clan_type != CLAN_GUILD )
clans.c:    if ( clan->clan_type != CLAN_NOKILL && clan->clan_type != CLAN_ORDER
clans.c:    &&   clan->clan_type != CLAN_GUILD )
clans.c:    if ( clan->clan_type != CLAN_GUILD && clan->clan_type != CLAN_ORDER
clans.c:    &&   clan->clan_type != CLAN_NOKILL )
clans.c:	    if (skill_table[sn]->guild == clan->class &&
clans.c:    	clan->fRank7Count++;
clans.c:    	clan->mRank7Count++;
clans.c:    victim->pcdata->clan_name = QUICKLINK( clan->name );
clans.c:    clan->clanPL += victim->exp;
clans.c:    act( AT_MAGIC, "You recruit $N into $t", ch, clan->name, victim, TO_CHAR );
clans.c:    act( AT_MAGIC, "$n recruits $N into $t", ch, clan->name, victim, TO_NOTVICT );
clans.c:    act( AT_MAGIC, "$n recruits you into $t", ch, clan->name, victim, TO_VICT );
clans.c:	if ( ch->pcdata->clan->clan_type == CLAN_ORDER )
clans.c:	if ( ch->pcdata->clan->clan_type == CLAN_GUILD )
clans.c:	if ( ch->pcdata->clan->clan_type == CLAN_ORDER )
clans.c:	if ( ch->pcdata->clan->clan_type == CLAN_GUILD )
clans.c:    if ( clan->clan_type != CLAN_GUILD && clan->clan_type != CLAN_ORDER
clans.c:    &&   clan->clan_type != CLAN_NOKILL )
clans.c:	    if ( skill_table[sn]->guild == victim->pcdata->clan->class
clans.c:    clan->members -= 1;
clans.c:					clan->fRank7Count--;
clans.c:					clan->mRank7Count--;
clans.c:					clan->fRank6Count--;
clans.c:					clan->mRank6Count--;
clans.c:					clan->fRank5Count--;
clans.c:					clan->mRank5Count--;
clans.c:					clan->fRank4Count--;
clans.c:					clan->mRank4Count--;
clans.c:					clan->fRank3Count--;
clans.c:					clan->mRank3Count--;
clans.c:					clan->fRank2Count--;
clans.c:					clan->mRank2Count--;
clans.c:					clan->fRank1Count--;
clans.c:					clan->mRank1Count--;
clans.c:    clan->clanPL -= victim->exp;
clans.c:    act( AT_MAGIC, "You outcast $N from $t", ch, clan->name, victim, TO_CHAR );
clans.c:    act( AT_MAGIC, "$n outcasts $N from $t", ch, clan->name, victim, TO_ROOM );
clans.c:    act( AT_MAGIC, "$n outcasts you from $t", ch, clan->name, victim, TO_VICT );
clans.c:    if ( clan->clan_type != CLAN_GUILD
clans.c:    &&   clan->clan_type != CLAN_ORDER )
clans.c:	sprintf(buf, "%s has been outcast from %s!", victim->name, clan->name);
clans.c:				clan->clanHQ = clanHQ;
clans.c:	clan->activeMem = atoi( argument );
clans.c:	clan->clanPL = atof( argument );
clans.c:	STRFREE( clan->deity );
clans.c:	clan->deity = STRALLOC( argument );
clans.c:	STRFREE( clan->leader1 );
clans.c:	clan->leader1 = STRALLOC( argument );
clans.c:	STRFREE( clan->leader2 );
clans.c:	clan->leader2 = STRALLOC( argument );
clans.c:	STRFREE( clan->leader3 );
clans.c:	clan->leader3 = STRALLOC( argument );
clans.c:	STRFREE( clan->leader4 );
clans.c:	clan->leader4 = STRALLOC( argument );
clans.c:	STRFREE( clan->leader5 );
clans.c:	clan->leader5 = STRALLOC( argument );
clans.c:	STRFREE( clan->leader6 );
clans.c:	clan->leader6 = STRALLOC( argument );
clans.c:	clan->mRank1Count = atoi( argument );
clans.c:	clan->mRank2Count = atoi( argument );
clans.c:	clan->mRank3Count = atoi( argument );
clans.c:	clan->mRank4Count = atoi( argument );
clans.c:	clan->mRank5Count = atoi( argument );
clans.c:	clan->mRank6Count = atoi( argument );
clans.c:	clan->mRank7Count = atoi( argument );
clans.c:	clan->fRank1Count = atoi( argument );
clans.c:	clan->fRank2Count = atoi( argument );
clans.c:	clan->fRank3Count = atoi( argument );
clans.c:	clan->fRank4Count = atoi( argument );
clans.c:	clan->fRank5Count = atoi( argument );
clans.c:	clan->fRank6Count = atoi( argument );
clans.c:	clan->fRank7Count = atoi( argument );
clans.c:	STRFREE( clan->mRank1 );
clans.c:	clan->mRank1 = STRALLOC( argument );
clans.c:	STRFREE( clan->mRank2 );
clans.c:	clan->mRank2 = STRALLOC( argument );
clans.c:	STRFREE( clan->mRank3 );
clans.c:	clan->mRank3 = STRALLOC( argument );
clans.c:	STRFREE( clan->mRank4 );
clans.c:	clan->mRank4 = STRALLOC( argument );
clans.c:	STRFREE( clan->mRank5 );
clans.c:	clan->mRank5 = STRALLOC( argument );
clans.c:	STRFREE( clan->mRank6 );
clans.c:	clan->mRank6 = STRALLOC( argument );
clans.c:	STRFREE( clan->mRank7 );
clans.c:	clan->mRank7 = STRALLOC( argument );
clans.c:	STRFREE( clan->fRank1 );
clans.c:	clan->fRank1 = STRALLOC( argument );
clans.c:	STRFREE( clan->fRank2 );
clans.c:	clan->fRank2 = STRALLOC( argument );
clans.c:	STRFREE( clan->fRank3 );
clans.c:	clan->fRank3 = STRALLOC( argument );
clans.c:	STRFREE( clan->fRank4 );
clans.c:	clan->fRank4 = STRALLOC( argument );
clans.c:	STRFREE( clan->fRank5 );
clans.c:	clan->fRank5 = STRALLOC( argument );
clans.c:	STRFREE( clan->fRank6 );
clans.c:	clan->fRank6 = STRALLOC( argument );
clans.c:	STRFREE( clan->fRank7 );
clans.c:	clan->fRank7 = STRALLOC( argument );
clans.c:	STRFREE( clan->badge );
clans.c:	clan->badge = STRALLOC( argument );
clans.c:	STRFREE( clan->clanWebSite );
clans.c:	clan->clanWebSite = STRALLOC( argument );
clans.c:	clan->tax = atoi( argument );
clans.c:	clan->bank = atof( argument );
clans.c:	clan->board = atoi( argument );
clans.c:    	clan->mem_limit = atoi( argument );
clans.c:	clan->members = atoi( argument );
clans.c:	clan->recall = atoi( argument );
clans.c:	clan->storeroom = atoi( argument );
clans.c:	clan->deathRecall = atoi( argument );
clans.c:	clan->clanJail = atoi( argument );
clans.c:	clan->clanMorgue = atoi( argument );
clans.c:	clan->clanDonate = atoi( argument );
clans.c:	clan->clanSkill1 = atoi( argument );
clans.c:	clan->clanSkill2 = atoi( argument );
clans.c:	clan->clanSkill3 = atoi( argument );
clans.c:	clan->clanobj1 = atoi( argument );
clans.c:	clan->clanobj2 = atoi( argument );
clans.c:	clan->clanobj3 = atoi( argument );
clans.c:        clan->clanobj4 = atoi( argument );
clans.c:        clan->clanobj5 = atoi( argument );
clans.c:	clan->guard1 = atoi( argument );
clans.c:	clan->guard2 = atoi( argument );
clans.c:	clan->alignment = atoi( argument );
clans.c:	  clan->clan_type = CLAN_ORDER;
clans.c:	  clan->clan_type = CLAN_GUILD;
clans.c:	  clan->clan_type = atoi( argument );
clans.c:	clan->class = atoi( argument );
clans.c:	STRFREE( clan->name );
clans.c:	clan->name = STRALLOC( argument );
clans.c:	STRFREE( clan->short_name );
clans.c:	clan->short_name = STRALLOC( argument );
clans.c:        if ( clan->filename && clan->filename[0] != '\0' )
clans.c:                DISPOSE( clan->filename );
clans.c:	clan->filename = str_dup( argument );
clans.c:	STRFREE( clan->motto );
clans.c:	clan->motto = STRALLOC( argument );
clans.c:	STRFREE( clan->description );
clans.c:	clan->description = STRALLOC( argument );
clans.c:	clan->pkills[temp_value] = atoi( argument );
clans.c:	clan->spar_wins[temp_value] = atoi( argument );
clans.c:	clan->spar_loss[temp_value] = atoi( argument );
clans.c:	clan->pdeaths[temp_value] = atoi( argument );
clans.c:			clan->clan_type == CLAN_ORDER ? "Order" :
clans.c:		       (clan->clan_type == CLAN_GUILD ? "Guild" : "Clan "),
clans.c:    			clan->name, clan->short_name,
clans.c:			clan->badge ? clan->badge : "(not set)",
clans.c:    			clan->filename,
clans.c:    			clan->motto );
clans.c:    			clan->description,
clans.c:    			clan->deity );
clans.c:			clan->leader1, clan->leader2, clan->leader3 );
clans.c:			clan->leader4, clan->leader5, clan->leader6 );
clans.c:    			clan->pkills[0], clan->pkills[1], clan->pkills[2],
clans.c:    			clan->pkills[3], clan->pkills[4], clan->pkills[5],
clans.c:			clan->pkills[6]);
clans.c:    			clan->pdeaths[0], clan->pdeaths[1], clan->pdeaths[2],
clans.c:    			clan->pdeaths[3], clan->pdeaths[4], clan->pdeaths[5],
clans.c:			clan->pdeaths[6] );
clans.c:    			clan->spar_wins[0], clan->spar_wins[1], clan->spar_wins[2],
clans.c:    			clan->spar_wins[3], clan->spar_wins[4], clan->spar_wins[5],
clans.c:			clan->spar_wins[6]);
clans.c:    			clan->spar_loss[0], clan->spar_loss[1], clan->spar_loss[2],
clans.c:    			clan->spar_loss[3], clan->spar_loss[4], clan->spar_loss[5],
clans.c:			clan->spar_loss[6]);
clans.c:			clan->illegal_pk );
clans.c:    			clan->mkills,
clans.c:    			clan->mdeaths );
clans.c:    			clan->score,
clans.c:    			clan->favour,
clans.c:    			clan->strikes );
clans.c:    			clan->members,
clans.c:    			clan->mem_limit,
clans.c:    			clan->activeMem,
clans.c:    			clan->alignment );
clans.c:    if ( clan->clan_type == CLAN_GUILD )
clans.c:			clan->class,
clans.c:    			clan->class<MAX_PC_CLASS?class_table[clan->class]->who_name:
clans.c:			clan->board,
clans.c:			clan->recall,
clans.c:			clan->storeroom );
clans.c:			clan->board,
clans.c:			clan->recall,
clans.c:			clan->storeroom );
clans.c:	ch_printf(ch, "&wJail: &W%-5d  &wTax: &W%-5d", clan->clanJail, clan->tax);
clans.c:	ch_printf(ch, "&wBank: &W%s", num_punct_d(clan->bank));
clans.c: 			clan->guard1,
clans.c:			clan->guard2 );
clans.c:    			clan->clanobj1,
clans.c:    			clan->clanobj2,
clans.c:    			clan->clanobj3,
clans.c:			clan->clanobj4,
clans.c:			clan->clanobj5 );
clans.c:    			clan->clanSkill1,
clans.c:    			clan->clanSkill2,
clans.c:    			clan->clanSkill3);
clans.c:    ch_printf(ch, "&wTotal Clan Power Level: &W%s", num_punct_ld(clan->clanPL));
clans.c:	ch_printf(ch, "  [ %-20.20s ]     [ %-20.20s ]\n\r", clan->mRank1, clan->fRank1);
clans.c:	ch_printf(ch, "  [ %-20.20s ]     [ %-20.20s ]\n\r", clan->mRank2, clan->fRank2);
clans.c:	ch_printf(ch, "  [ %-20.20s ]     [ %-20.20s ]\n\r", clan->mRank3, clan->fRank3);
clans.c:	ch_printf(ch, "  [ %-20.20s ]     [ %-20.20s ]\n\r", clan->mRank4, clan->fRank4);
clans.c:	ch_printf(ch, "  [ %-20.20s ]     [ %-20.20s ]\n\r", clan->mRank5, clan->fRank5);
clans.c:	ch_printf(ch, "  [ %-20.20s ]     [ %-20.20s ]\n\r", clan->mRank6, clan->fRank6);
clans.c:	ch_printf(ch, "  [ %-20.20s ]     [ %-20.20s ]\n\r", clan->mRank7, clan->fRank7);
clans.c:    clan->name		= STRALLOC( argument );
clans.c:    clan->short_name= STRALLOC( "None" );
clans.c:    clan->filename	= str_dup( "" );
clans.c:    clan->motto		= STRALLOC( "" );
clans.c:    clan->description	= STRALLOC( "" );
clans.c:    clan->deity		= STRALLOC( "None" );
clans.c:    clan->leader1	= STRALLOC( "None" );
clans.c:    clan->leader2	= STRALLOC( "None" );
clans.c:    clan->leader3	= STRALLOC( "None" );
clans.c:    clan->leader4	= STRALLOC( "None" );
clans.c:    clan->leader5	= STRALLOC( "None" );
clans.c:    clan->leader6	= STRALLOC( "None" );
clans.c:    clan->badge		= STRALLOC( "" );
clans.c:    clan->mRank1	= STRALLOC( "None" );
clans.c:    clan->mRank2	= STRALLOC( "None" );
clans.c:    clan->mRank3	= STRALLOC( "None" );
clans.c:    clan->mRank4	= STRALLOC( "None" );
clans.c:    clan->mRank5	= STRALLOC( "None" );
clans.c:    clan->mRank6	= STRALLOC( "None" );
clans.c:    clan->mRank7	= STRALLOC( "None" );
clans.c:    clan->fRank1	= STRALLOC( "None" );
clans.c:    clan->fRank2	= STRALLOC( "None" );
clans.c:    clan->fRank3	= STRALLOC( "None" );
clans.c:    clan->fRank4	= STRALLOC( "None" );
clans.c:    clan->fRank5	= STRALLOC( "None" );
clans.c:    clan->fRank6	= STRALLOC( "None" );
clans.c:    clan->fRank7	= STRALLOC( "None" );
clans.c:    clan->clanWebSite	= STRALLOC( "" );
clans.c:    for(aclan = first_clan; aclan; aclan = aclan->next)
clans.c:	switch (clan->alignment)
clans.c:	pager_printf(ch, "&cClan Name : &W[ &R%s &W]\n\r", clan->name);
clans.c:	pager_printf(ch, "&cShort Name: &W[ &R%s &W]\n\r", clan->short_name);
clans.c:	pager_printf(ch, "&cAdmin  : &W[ &R%-29s &W]  &cMembers : &W[ &R%7d &W]\n\r", clan->deity, clan->members);
clans.c:	pager_printf(ch, "&cLeaders: &W[ &R%-12s &W] [ &R%-12s &W]  &cTax Rate: &W[ &R%6d%% &W]\n\r", clan->leader1, clan->leader4, clan->tax);
clans.c:	pager_printf(ch, "         &W[ &R%-12s &W] [ &R%-12s &W]  &cAllign  : &W[ %7s &W]\n\r", clan->leader2, clan->leader5, buf);
clans.c:	pager_printf(ch, "         &W[ &R%-12s &W] [ &R%-12s &W]  &cClan PL : &W[ &R%7s &W]\n\r", clan->leader3, clan->leader6, abbNumLD(clan->clanPL));
clans.c:		pager_printf(ch, "&c(%3d&c)&W[ &R%-20s &W]       &c(%3d&c)&W[ &R%-20s &W]\n\r", clan->mRank1Count, clan->mRank1, clan->fRank1Count, clan->fRank1);
clans.c:		pager_printf(ch, "&c(%3d&c)&W[ &R%-20s &W]       &c(%3d&c)&W[ &R%-20s &W]\n\r", clan->mRank2Count, clan->mRank2, clan->fRank2Count, clan->fRank2);
clans.c:		pager_printf(ch, "&c(%3d&c)&W[ &R%-20s &W]       &c(%3d&c)&W[ &R%-20s &W]\n\r", clan->mRank3Count, clan->mRank3, clan->fRank3Count, clan->fRank3);
clans.c:		pager_printf(ch, "&c(%3d&c)&W[ &R%-20s &W]       &c(%3d&c)&W[ &R%-20s &W]\n\r", clan->mRank4Count, clan->mRank4, clan->fRank4Count, clan->fRank4);
clans.c:		pager_printf(ch, "&c(%3d&c)&W[ &R%-20s &W]       &c(%3d&c)&W[ &R%-20s &W]\n\r", clan->mRank5Count, clan->mRank5, clan->fRank5Count, clan->fRank5);
clans.c:		pager_printf(ch, "&c(%3d&c)&W[ &R%-20s &W]       &c(%3d&c)&W[ &R%-20s &W]\n\r", clan->mRank6Count, clan->mRank6, clan->fRank6Count, clan->fRank6);
clans.c:		pager_printf(ch, "&c(%3d&c)&W[ &R%-20s &W]       &c(%3d&c)&W[ &R%-20s &W]\n\r", clan->mRank7Count, clan->mRank7, clan->fRank7Count, clan->fRank7);
clans.c:		pager_printf(ch, "     &W[ &R%-20s &W]            [ &R%-20s &W]\n\r", clan->mRank1, clan->fRank1);
clans.c:		pager_printf(ch, "     &W[ &R%-20s &W]            [ &R%-20s &W]\n\r", clan->mRank2, clan->fRank2);
clans.c:		pager_printf(ch, "     &W[ &R%-20s &W]            [ &R%-20s &W]\n\r", clan->mRank3, clan->fRank3);
clans.c:		pager_printf(ch, "     &W[ &R%-20s &W]            [ &R%-20s &W]\n\r", clan->mRank4, clan->fRank4);
clans.c:		pager_printf(ch, "     &W[ &R%-20s &W]            [ &R%-20s &W]\n\r", clan->mRank5, clan->fRank5);
clans.c:		pager_printf(ch, "     &W[ &R%-20s &W]            [ &R%-20s &W]\n\r", clan->mRank6, clan->fRank6);
clans.c:		pager_printf(ch, "     &W[ &R%-20s &W]            [ &R%-20s &W]\n\r", clan->mRank7, clan->fRank7);
clans.c:	pager_printf(ch, "&cClan Recall?       : &W[%s&W]     &cClan Donate Room? : &W[%s&W]\n\r", clan->recall ? "&RY" : "&rN", clan->clanDonate ? "&RY" : "&rN");
clans.c:	pager_printf(ch, "&cClan Death Recall? : &W[%s&W]     &cClan Jail?        : &W[%s&W]\n\r", clan->deathRecall ? "&RY" : "&rN", clan->clanJail ? "&RY" : "&rN");
clans.c:	pager_printf(ch, "&cClan Morgue?       : &W[%s&W]     &cClan Skill?       : &W[&rNone&W]\n\r", clan->clanMorgue ? "&RY" : "&rN");
clans.c:		pager_printf(ch, "&cClan Bank Account  : &W[ &R%s &W] &czeni\n\r", num_punct_d(clan->bank));
clans.c:		clan->pkills[0], clan->spar_wins[0],
clans.c:		clan->pkills[1], clan->spar_wins[1],
clans.c:		clan->pkills[2], clan->spar_wins[2],
clans.c:		clan->pkills[3], clan->spar_wins[3] );
clans.c:		clan->pkills[4], clan->spar_wins[4],
clans.c:		clan->pkills[5], clan->spar_wins[5],
clans.c:		clan->pkills[6], clan->spar_wins[6] );
clans.c:		(clan->pkills[0]+clan->pkills[1]+clan->pkills[2]+clan->pkills[3]+clan->pkills[4]+clan->pkills[5]+clan->pkills[6]),
clans.c:		(clan->spar_wins[0]+clan->spar_wins[1]+clan->spar_wins[2]+clan->spar_wins[3]+clan->spar_wins[4]+clan->spar_wins[5]+clan->spar_wins[6]) );
clans.c:	pager_printf(ch, "&cWeb Page    : &W[ &w%s &W]\n\r", clan->clanWebSite);
clans.c:	pager_printf(ch, "&cMotto       : &W\"&c%s&W\"\n\r", clan->motto);
clans.c:	pager_printf(ch, "&cDescription : \n\r &c%s\n\r", clan->description);
clans.c:	for ( clan = first_clan; clan; clan = clan->next )
clans.c:			clan->name, clan->short_name, clan->members, clan->activeMem, abbNumLD(clan->clanPL));
clans.c:    if ( !clan || clan->clan_type == CLAN_GUILD || clan->clan_type == CLAN_ORDER )
clans.c:    pager_printf_color( ch, "&r\n\r%s, '&R%s&r'\n\r\n\r", clan->name, clan->motto );
clans.c:	clan->pkills[0], clan->spar_wins[0],
clans.c:	clan->pkills[1], clan->spar_wins[1],
clans.c:	clan->pkills[2], clan->spar_wins[2],
clans.c:	clan->pkills[3], clan->spar_wins[3] );
clans.c:	clan->pkills[4], clan->spar_wins[4],
clans.c:	clan->pkills[5], clan->spar_wins[5],
clans.c:	clan->pkills[6], clan->spar_wins[6] );
clans.c:	(clan->pkills[0]+clan->pkills[1]+clan->pkills[2]+clan->pkills[3]+clan->pkills[4]+clan->pkills[5]+clan->pkills[6]),
clans.c:	(clan->spar_wins[0]+clan->spar_wins[1]+clan->spar_wins[2]+clan->spar_wins[3]+clan->spar_wins[4]+clan->spar_wins[5]+clan->spar_wins[6]) );
clans.c:                        clan->leader1,
clans.c:                        clan->leader2,
clans.c:                        clan->leader3,
clans.c:			clan->deity );
clans.c:    if ( !str_cmp( ch->name, clan->deity   )
clans.c:    ||   !str_cmp( ch->name, clan->leader1  )
clans.c:    ||   !str_cmp( ch->name, clan->leader2 )
clans.c:    ||   !str_cmp( ch->name, clan->leader3 ) )
clans.c:			clan->members );
clans.c:    pager_printf_color( ch, "\n\rDescription:&R  %s&D\n\r", clan->description );
clans.c:    if ( ch->pcdata->clan->clan_type != CLAN_ORDER
clans.c:    &&   ch->pcdata->clan->clan_type != CLAN_GUILD ) {
clans.c:          CLAN_DIR, ch->pcdata->clan->short_name );
clans.c:	if ( !str_cmp( ch->name, ch->pcdata->clan->leader1 )
clans.c:    if (!str_cmp( ch->name, clan->deity )
clans.c:    ||   !str_cmp( ch->name, clan->leader ))
clans.c:		STRFREE( clan->leader );
clans.c:		clan->leader = STRALLOC( victim->name );
clans.c:		STRFREE( clan->number1 );
clans.c:		clan->number1 = STRALLOC( victim->name );
clans.c:		STRFREE( clan->number2 );
clans.c:		clan->number2 = STRALLOC( victim->name );
clans.c:    pager_printf( ch, "\n\rMembers of %s\n\r", clan->name );
clans.c:    pager_printf( ch, "Admin: %s\n\r", clan->deity );
clans.c:    pager_printf( ch, " %-12s  %-12s\n\r", clan->leader1, clan->leader2 );
clans.c:    pager_printf( ch, " %-12s  %-12s\n\r", clan->leader3, clan->leader4 );
clans.c:    pager_printf( ch, " %-12s  %-12s\n\r", clan->leader5, clan->leader6 );
clans.c:			ch->pcdata->clan->members--;
clans.c:     show_members( ch, ch->pcdata->clan->name, argument );
clans.c:     sprintf( buf, "%s%s.mem", CLAN_DIR, clan->filename );
clans.c:                     if( ch->pcdata->clan->clan_type == CLAN_PLAIN )
clans.c:                 if( ch->pcdata->clan->clan_type == CLAN_PLAIN )
clans.c:        		ch->pcdata->clan->members++;
clans.c:	ch->pcdata->clan->bank += amount;
clans.c:		if (!clan->clanJail)
clans.c:		location = get_room_index(clan->clanJail);
clans.c:		if (!clan->clanJail)
clans.c:		if (victim->in_room->vnum != clan->clanJail)
clans.c:		STRFREE( clan->clanWebSite );
clans.c:		clan->clanWebSite = STRALLOC( argument );
clans.c:		if (clan->bank < 250000)
clans.c:		clan->tax = tax;
clans.c:		clan->bank -= 250000;
clans.c:					clan->fRank7Count--;
clans.c:					clan->fRank6Count++;
clans.c:					clan->mRank7Count--;
clans.c:					clan->mRank6Count++;
clans.c:					clan->fRank6Count--;
clans.c:					clan->fRank5Count++;
clans.c:					clan->mRank6Count--;
clans.c:					clan->mRank5Count++;
clans.c:					clan->fRank5Count--;
clans.c:					clan->fRank4Count++;
clans.c:					clan->mRank5Count--;
clans.c:					clan->mRank4Count++;
clans.c:					clan->fRank4Count--;
clans.c:					clan->fRank3Count++;
clans.c:					clan->mRank4Count--;
clans.c:					clan->mRank3Count++;
clans.c:					clan->fRank3Count--;
clans.c:					clan->fRank2Count++;
clans.c:					clan->mRank3Count--;
clans.c:					clan->mRank2Count++;
clans.c:					clan->fRank2Count--;
clans.c:					clan->fRank1Count++;
clans.c:					clan->mRank2Count--;
clans.c:					clan->mRank1Count++;
clans.c:					clan->fRank7Count++;
clans.c:					clan->fRank6Count--;
clans.c:					clan->mRank7Count++;
clans.c:					clan->mRank6Count--;
clans.c:					clan->fRank6Count++;
clans.c:					clan->fRank5Count--;
clans.c:					clan->mRank6Count++;
clans.c:					clan->mRank5Count--;
clans.c:					clan->fRank5Count++;
clans.c:					clan->fRank4Count--;
clans.c:					clan->mRank5Count++;
clans.c:					clan->mRank4Count--;
clans.c:					clan->fRank4Count++;
clans.c:					clan->fRank3Count--;
clans.c:					clan->mRank4Count++;
clans.c:					clan->mRank3Count--;
clans.c:					clan->fRank3Count++;
clans.c:					clan->fRank2Count--;
clans.c:					clan->mRank3Count++;
clans.c:					clan->mRank2Count--;
clans.c:				sprintf(buf, "&C%s and %s are now allies.\n\r", clan->name, vclan->name);
clans.c:    for( clan = first_clan; clan; clan=clan->next )
clans.c:        for(aclan = first_clan; aclan; aclan = aclan->next)
deity.c:      	  location = get_room_index( ch->pcdata->clan->recall );
fight.c:          ( 1 + abs( ch->alignment - ch->pcdata->clan->alignment ) );
fight.c:	      ch->pcdata->clan->spar_wins[0]++;
fight.c:	      ch->pcdata->clan->spar_wins[1]++;
fight.c:	      ch->pcdata->clan->spar_wins[2]++;
fight.c:	      ch->pcdata->clan->spar_wins[3]++;
fight.c:	      ch->pcdata->clan->spar_wins[4]++;
fight.c:	      ch->pcdata->clan->spar_wins[5]++;
fight.c:	      ch->pcdata->clan->spar_wins[6]++;
fight.c:	      victim->pcdata->clan->spar_loss[0]++;
fight.c:	      victim->pcdata->clan->spar_loss[1]++;
fight.c:	      victim->pcdata->clan->spar_loss[2]++;
fight.c:	      victim->pcdata->clan->spar_loss[3]++;
fight.c:	      victim->pcdata->clan->spar_loss[4]++;
fight.c:	      victim->pcdata->clan->spar_loss[5]++;
fight.c:	      victim->pcdata->clan->spar_loss[6]++;
fight.c:	    &&   ch->pcdata->clan->clan_type != CLAN_ORDER
fight.c:            &&   ch->pcdata->clan->clan_type != CLAN_GUILD
fight.c:                sprintf( filename, "%s%s.record", CLAN_DIR, ch->pcdata->clan->short_name );
fight.c:		    victim->pcdata->clan ? victim->pcdata->clan->badge :
fight.c:		     victim->pcdata->clan->name == ch->pcdata->clan->name)
fight.c:	    ch->pcdata->clan->mkills++;
fight.c:	      ch->pcdata->clan->pkills[0]++;
fight.c:	      ch->pcdata->clan->pkills[1]++;
fight.c:	      ch->pcdata->clan->pkills[2]++;
fight.c:	      ch->pcdata->clan->pkills[3]++;
fight.c:	      ch->pcdata->clan->pkills[4]++;
fight.c:	      ch->pcdata->clan->pkills[5]++;
fight.c:	      ch->pcdata->clan->pkills[6]++;
fight.c:      ||   ( ch->pcdata->clan->clan_type != CLAN_NOKILL
fight.c:      &&   victim->pcdata->clan->clan_type != CLAN_NOKILL
fight.c:	      ch->pcdata->clan->pkills[0]++;
fight.c:	      ch->pcdata->clan->pkills[1]++;
fight.c:	      ch->pcdata->clan->pkills[2]++;
fight.c:	      ch->pcdata->clan->pkills[3]++;
fight.c:	      ch->pcdata->clan->pkills[4]++;
fight.c:	      ch->pcdata->clan->pkills[5]++;
fight.c:	      ch->pcdata->clan->pkills[6]++;
fight.c:              victim->pcdata->clan->pdeaths[0]++;
fight.c:              victim->pcdata->clan->pdeaths[1]++;
fight.c:              victim->pcdata->clan->pdeaths[2]++;
fight.c:              victim->pcdata->clan->pdeaths[3]++;
fight.c:              victim->pcdata->clan->pdeaths[4]++;
fight.c:              victim->pcdata->clan->pdeaths[5]++;
fight.c:              victim->pcdata->clan->pdeaths[6]++;
fight.c:        		victim->pcdata->clan->mdeaths++;
fight.c:        ch->pcdata->clan->illegal_pk++;
fight.c:				victim->pcdata->clan->pdeaths[0]++;
fight.c:              victim->pcdata->clan->pdeaths[1]++;
fight.c:              victim->pcdata->clan->pdeaths[2]++;
fight.c:              victim->pcdata->clan->pdeaths[3]++;
fight.c:              victim->pcdata->clan->pdeaths[4]++;
fight.c:              victim->pcdata->clan->pdeaths[5]++;
fight.c:              victim->pcdata->clan->pdeaths[6]++;
fight.c:			if (!str_cmp( victim->name, clan->leader) && clan->alignment != 1)
fight.c:				STRFREE( clan->leader );
fight.c:				clan->leader = STRALLOC( ch->name );
fight.c:				sprintf( log_buf, "[INSIDE]%s has become the leader of the %s, by combat.", ch->name, ch->pcdata->clan->name );
fight.c:		    	--clan->members;
handler.c://	    location = get_room_index( ch->pcdata->clan->recall );
handler.c:    clan_factor = 1 + abs( ch->alignment - ch->pcdata->clan->alignment ) / 1000;
magic.c:	|| skill->guild != ch->pcdata->clan->class) )
mud_prog.c:	    return mprog_seval(chkchar->pcdata->clan->short_name, opr, rval, mob);
mud_prog.c:	    return mprog_seval(chkchar->pcdata->clan->name, opr, rval, mob);
mud_prog.c:	    return mprog_veval(chkchar->pcdata->clan->clan_type, opr, atoi(rval), mob);
new_fun.c:	if (ch->pcdata->clan->alignment == CLANALIGN_GOOD)
new_fun.c:	else if (ch->pcdata->clan->alignment == CLANALIGN_NEUTRAL)
new_fun.c:	else if (ch->pcdata->clan->alignment == CLANALIGN_EVIL)
new_fun.c:	if (!str_cmp( ch->name, clan->leader  )
new_fun.c:	    || !str_cmp( ch->name, clan->deity ))
new_fun.c:	if ( (clan->alignment == 1 && ch->alignment > 0)
new_fun.c:			|| (clan->alignment == 2 && ch->alignment < 500 && ch->alignment > -500)
new_fun.c:			|| (clan->alignment == 3 && ch->alignment < 0)
new_fun.c:			|| clan->alignment == 0 )
new_fun.c:	pager_printf_color(ch, "&RYou have been outcast from the %s.&W", clan->name);
new_fun.c:	sprintf( buf, "%s has been auto-booted from the %s", ch->name, clan->name);
new_fun.c:	--clan->members;
new_fun.c:	if ( clan->leader )
new_fun.c:		if ( ( leader = get_char_world( ch, clan->leader ) ) == NULL )
new_fun.c:	if ( clan->number1 )
new_fun.c:		if ( ( number1 = get_char_world( ch, clan->number1 ) ) == NULL )
new_fun.c:	if ( clan->number2 )
new_fun.c:		if ( ( number2 = get_char_world( ch, clan->number2 ) ) == NULL )
new_fun.c:	if (IS_GOOD(leader) && IS_GOOD(number1) && IS_GOOD(number2) && clan->alignment != 1)
new_fun.c:		clan->alignment = 1;
new_fun.c:		sprintf(buf, "The leaders of the %s have decided to change their clan's alignment to GOOD.", clan->name);
new_fun.c:	else if (IS_NEUTRAL(leader) && IS_NEUTRAL(number1) && IS_NEUTRAL(number2) && clan->alignment != 2)
new_fun.c:		clan->alignment = 2;
new_fun.c:		sprintf(buf, "The leaders of the %s have decided to change their clan's alignment to NEUTRAL.", clan->name);
new_fun.c:	else if (IS_EVIL(leader) && IS_EVIL(number1) && IS_EVIL(number2) && clan->alignment != 3)
new_fun.c:		clan->alignment = 3;
new_fun.c:		sprintf(buf, "The leaders of the %s have decided to change their clan's alignment to EVIL.", clan->name);
new_fun.c:		if (!str_cmp( vch->name, clan->deity  ))
new_fun.c:		if (!str_cmp( vch->name, clan->leader  )
new_fun.c:		    || !str_cmp( vch->name, clan->number1 )
new_fun.c:    		|| !str_cmp( vch->name, clan->number2 ) )
new_fun.c:		if ( (clan->alignment == 1 && vch->alignment > 0)
new_fun.c:			|| (clan->alignment == 2 && vch->alignment < 500 && vch->alignment > -500)
new_fun.c:			|| (clan->alignment == 3 && vch->alignment < 0) )
new_fun.c:		pager_printf_color(vch, "&RYou have been outcast from the %s.&W", clan->name);
new_fun.c:	    --clan->members;
new_fun.c:			if( !str_cmp( ch->pcdata->clan->leader1, ch->name ) )
new_fun.c:				ch->pcdata->clan->fRank2Count += 1;
new_fun.c:				ch->pcdata->clan->mRank2Count += 1;
new_fun.c:			ch->pcdata->clan->members += 1;
new_fun.c:                if( !str_cmp( ch->pcdata->clan->leader1, ch->name ) )
new_fun.c:				ch->pcdata->clan->fRank2Count -= 1;
new_fun.c:				ch->pcdata->clan->fRank1Count += 1;
new_fun.c:				ch->pcdata->clan->mRank2Count -= 1;
new_fun.c:				ch->pcdata->clan->mRank1Count += 1;
new_fun.c:			ch->pcdata->clan->members += 1;
new_fun.c:				ch->pcdata->clan->fRank7Count += 1;
new_fun.c:				ch->pcdata->clan->mRank7Count += 1;
new_fun.c:			ch->pcdata->clan->members += 1;
new_fun.c:      return ch->pcdata->clan->mRank1;
new_fun.c:      return ch->pcdata->clan->mRank2;
new_fun.c:      return ch->pcdata->clan->mRank3;
new_fun.c:      return ch->pcdata->clan->mRank4;
new_fun.c:      return ch->pcdata->clan->mRank5;
new_fun.c:      return ch->pcdata->clan->mRank6;
new_fun.c:      return ch->pcdata->clan->mRank7;
new_fun.c:      return ch->pcdata->clan->fRank1;
new_fun.c:      return ch->pcdata->clan->fRank2;
new_fun.c:      return ch->pcdata->clan->fRank3;
new_fun.c:      return ch->pcdata->clan->fRank4;
new_fun.c:      return ch->pcdata->clan->fRank5;
new_fun.c:      return ch->pcdata->clan->fRank6;
new_fun.c:      return ch->pcdata->clan->fRank7;
player.c:		pager_printf(ch, "CLAN NAME:  %s%-s\n\r", color_clan(ch), ch->pcdata->clan->name);
player.c:		pager_printf(ch, "&c Current Rank: (&w%d&c)&W%-20s  &cTotal Clan Members: (&w%d&c)\n\r", ch->pcdata->clanRank, get_clanTitle(ch), ch->pcdata->clan->members);
player.c:    if (ch->pcdata->clan && ch->pcdata->clan->clan_type == CLAN_ORDER )
player.c:		ch->pcdata->clan->name, ch->pcdata->clan->mkills, ch->pcdata->clan->mdeaths);
player.c:    if (ch->pcdata->clan && ch->pcdata->clan->clan_type == CLAN_GUILD )
player.c:                ch->pcdata->clan->name, ch->pcdata->clan->mkills, ch->pcdata->clan->mdeaths);
player.c:    if (ch->pcdata->clan && ch->pcdata->clan->clan_type != CLAN_ORDER  && ch->pcdata->clan->clan_type != CLAN_GUILD )
player.c:		ch->pcdata->clan->name, ch->pcdata->clan->pkills[5],
player.c:		(ch->pcdata->clan->pkills[0]+ch->pcdata->clan->pkills[1]+
player.c:		 ch->pcdata->clan->pkills[2]+ch->pcdata->clan->pkills[3]+
player.c:		 ch->pcdata->clan->pkills[4]) );
player.c:		ch->pcdata->clan->pdeaths[5],
player.c:		( ch->pcdata->clan->pdeaths[0] + ch->pcdata->clan->pdeaths[1] +
player.c:		  ch->pcdata->clan->pdeaths[2] + ch->pcdata->clan->pdeaths[3] +
player.c:		  ch->pcdata->clan->pdeaths[4] ) );
player.c:    if (ch->pcdata->clan && ch->pcdata->clan->clan_type == CLAN_ORDER )
player.c:		ch->pcdata->clan->name, ch->pcdata->clan->mkills, ch->pcdata->clan->mdeaths);
player.c:    if (ch->pcdata->clan && ch->pcdata->clan->clan_type == CLAN_GUILD )
player.c:                ch->pcdata->clan->name, ch->pcdata->clan->mkills, ch->pcdata->clan->mdeaths);
player.c:  if (!beenTaxed && ch->pcdata->clan && ch->pcdata->clan->tax > 0)
player.c:	tax = ch->gold * clan->tax / 100;
player.c:    ch_printf( ch, "Your clan (%s) requires that you pay daily taxes.\n\r", clan->name);
player.c:    	clan->tax, num_punct(tax), num_punct(ch->gold));
player.c:    ch_printf( ch, "into your clans bank account bringing it to %s zeni.\n\r", num_punct_d(clan->bank));
skills.c:      location = get_room_index( ch->pcdata->clan->recall );
space.c:      if ( !str_cmp(ch->pcdata->clan->name,ship->owner) )
space.c:           if ( !ch->pcdata || !ch->pcdata->clan || str_cmp(ship->owner,ch->pcdata->clan->name) || ship->class > SHIP_PLATFORM )
space.c:           if ( !ch->pcdata || !ch->pcdata->clan || str_cmp(ship->owner,ch->pcdata->clan->name) || ship->class <= SHIP_PLATFORM )
space.c:    	          if ( ch->pcdata && ch->pcdata->clan && !str_cmp(ch->pcdata->clan->name,ship->owner) )
space.c:                   if ( ch->pcdata->clan->funds < price )
space.c:                       pager_printf_color(ch, "&R%s doesn't have enough funds to prepare this ship for launch.\n\r", ch->pcdata->clan->name );
space.c:                   ch->pcdata->clan->funds -= price;
space.c:                   pager_printf_color(ch, "&GIt costs %s %ld credits to ready this ship for launch.\n\r", ch->pcdata->clan->name, price );
space.c:        if ( !ch->pcdata->clan || str_cmp( ch->pcdata->clan->name , "the empire" ) )
space.c:   	 if ( !ch->pcdata->clan || !ch->pcdata->clan->mainclan || str_cmp( ch->pcdata->clan->mainclan->name , "The Empire" ) )
space.c:        if ( !ch->pcdata->clan || str_cmp( ch->pcdata->clan->name , "the new republic" ) )
space.c:         if ( !ch->pcdata->clan ||  !ch->pcdata->clan->mainclan || str_cmp( ch->pcdata->clan->mainclan->name , "The New Republic" ) )
space.c:       ( !str_cmp( ch->pcdata->clan->name , "the new republic" ) ||
space.c:       ( ch->pcdata->clan->mainclan && !str_cmp(ch->pcdata->clan->mainclan->name ,"the new republic") )
space.c:       ( !str_cmp( ch->pcdata->clan->name , "the empire" ) ||
space.c:       ( ch->pcdata->clan->mainclan && !str_cmp(ch->pcdata->clan->mainclan->name ,"the empire") )
space.c:   mainclan = ch->pcdata->clan->mainclan ? ch->pcdata->clan->mainclan : clan;
space.c:    ||   !str_cmp( ch->name, clan->leader  ))
space.c:   if ( str_cmp( mainclan->name , "The Empire" )  && ship->type == SHIP_IMPERIAL )
space.c:   if ( str_cmp( mainclan->name , "The New Republic" )  && ship->type == SHIP_REPUBLIC )
space.c:   if ( !str_cmp( mainclan->name , "The Empire" )  && ship->type != SHIP_IMPERIAL )
space.c:   if ( !str_cmp( mainclan->name , "The New Republic" )  && ship->type != SHIP_REPUBLIC )
space.c:    if ( ch->pcdata->clan->funds < price )
space.c:    clan->funds -= price;
space.c:    pager_printf_color(ch, "&G%s pays %ld credits to purchace the ship.\n\r", clan->name , price );
space.c:	ship->owner = STRALLOC( clan->name );
space.c:             clan->spacecraft++;
space.c:             clan->vehicles++;
space.c:     if ( !IS_NPC(ch) && ch->pcdata && ch->pcdata->clan && !str_cmp(ch->pcdata->clan->name,ship->owner) )
space.c:     if ( !IS_NPC(ch) && ch->pcdata && ch->pcdata->clan && !str_cmp(ch->pcdata->clan->name,ship->owner) )
update.c:		ch->pcdata->clan->clanPL += modgain;
update.c:          location = get_room_index( ch->pcdata->clan->recall );
update.c:			sprintf(buf, "%s has changed their alliance with your clan to %s", alliance->clan->name, clan_alliance_type[alliance->newStatus]);
update.c:			sprintf(buf, "Your clan has changed their alliance with %s to %s.", alliance->vclan->name, clan_alliance_type[alliance->newStatus]);
