prompt

rm6/src/crashsafe/prompt · 329.6 KB

From the archive cbhq-rm6.tar.gz

Download the archive   « Back to the archive contents

act_comm.c:    ROOM_INDEX_DATA *room = ch->in_room;
act_comm.c:  if ( IS_NPC( ch ) || !ch->pcdata ) return (char *) argument;
act_comm.c:  drunk = ch->pcdata->condition[COND_DRUNK];
act_comm.c:    if ( IS_SET( och->deaf, channel ) )
act_comm.c:      && !( och->pcdata->council &&
act_comm.c:      !str_cmp( och->pcdata->council->name, "Newbie Council" ) ) ) )
act_comm.c:    &&   vch->in_room->area != ch->in_room->area )
act_comm.c:       	if ( vch->pcdata->clan != ch->pcdata->clan )
act_comm.c:       	if (vch->pcdata->guild != ch->pcdata->guild )
act_comm.c:        if ( vch->pcdata->council != ch->pcdata->council )
act_comm.c:    if ( !IS_NPC(ch) && xIS_SET( ch->act, PLR_NO_EMOTE ) )
act_comm.c:	position = ch->position;
act_comm.c:	ch->position = POS_STANDING;
act_comm.c:	ch->position = position;
act_comm.c:	position = ch->position;
act_comm.c:	ch->position = POS_STANDING;
act_comm.c:	ch->position = position;
act_comm.c:	position = ch->position;
act_comm.c:	ch->position = POS_STANDING;
act_comm.c:	ch->position = position;
act_comm.c:        if ( ch->speaking & lang_array[lang] )
act_comm.c:		 ||   ((IS_AFFECTED(ch, AFF_CHARM)) && (!xIS_SET(ch->act, ACT_PET)))
act_comm.c:   	     ||   ((xIS_SET(ch->act, PLR_SILENCE)) && (!IS_NPC(ch))) 
act_comm.c:         ||   (IS_SET(ch->in_room->room_flags, ROOM_SILENCE)) 
act_comm.c:        if ( ch->master ) 
act_comm.c:            ch_printf( ch->master, "A mystical force prevents %s from speaking.\n\r", IS_NPC( ch ) ? 
act_comm.c:                ch->short_descr : capitalize( ch->name ) );
act_comm.c:    REMOVE_BIT( ch->deaf, channel );
act_comm.c:        sprintf( emotetxt, "%s %s", capitalize( ch->name ), argument+1 );
act_comm.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c:        sprintf( buf2, "%s: %s (%s)", IS_NPC( ch ) ? ch->short_descr : capitalize( ch->name ),
act_comm.c:                        IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c:        if ( d->connected == CON_PLAYING && vch != ch && !IS_SET( och->deaf, channel ) )
act_comm.c:            ||   ( channel == CHANNEL_YELL && vch->in_room->area != ch->in_room->area )
act_comm.c:            &&     !( och->pcdata->council && !str_cmp( och->pcdata->council->name, "Newbie Council" ) ) ) )
act_comm.c:            &&     ( IS_NPC( vch ) || vch->pcdata->clan != ch->pcdata->clan ) )
act_comm.c:            ||   ( ( channel == CHANNEL_RACETALK ) && ( vch->race != ch->race ) )
act_comm.c:            ||     vch->pcdata->council != ch->pcdata->council ) ) 
act_comm.c:            if ( xIS_SET(ch->act, PLR_WIZINVIS) &&
act_comm.c:                sprintf(lbuf, "(%d) ", (!IS_NPC(ch))?ch->pcdata->wizinvis
act_comm.c:                        :ch->mobinvis);
act_comm.c:            position            = vch->position;
act_comm.c:                vch->position   = POS_STANDING;
act_comm.c:            if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c:                int speakswell = UMIN(knows_language(vch, ch->speaking, ch),
act_comm.c:                                      knows_language(ch, ch->speaking, vch));
act_comm.c:            if ( !knows_language(vch, ch->speaking, ch)
act_comm.c:            &&  (!IS_NPC(ch) || ch->speaking != 0) )
act_comm.c:                sbuf = scramble(argument, ch->speaking);
act_comm.c:            if ( !IS_NPC(ch) && ch->pcdata->nuisance
act_comm.c:            &&   ch->pcdata->nuisance->flags > 7
act_comm.c:            &&  (number_percent()<((ch->pcdata->nuisance->flags-7)*10*
act_comm.c:                ch->pcdata->nuisance->power)))
act_comm.c:            if ( !IS_NPC(vch) && vch->pcdata->nuisance &&
act_comm.c:                vch->pcdata->nuisance->flags > 7
act_comm.c:                 &&(number_percent()<((vch->pcdata->nuisance->flags-7)*10*
act_comm.c:                 vch->pcdata->nuisance->power)))
act_comm.c:            vch->position = position;
act_comm.c:	&&  !IS_SET(och->deaf, channel)
act_comm.c:    if ( IS_NPC( ch ) || !ch->pcdata->clan 
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->council && 
act_comm.c:          !str_cmp( ch->pcdata->council->name, "Newbie Council" ) ) ) )
act_comm.c:    if ( IS_NPC( ch ) || !ch->pcdata->clan 
act_comm.c:         || ch->pcdata->clan->clan_type != CLAN_ORDER )
act_comm.c:    if ( IS_NPC( ch ) || !ch->pcdata->council )
act_comm.c:    if ( IS_NPC( ch ) || !ch->pcdata->clan || ch->pcdata->clan->clan_type != CLAN_GUILD )
act_comm.c:	if ( ch->speaking & lang_array[lang] )
act_comm.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c:    actflags = ch->act;
act_comm.c:	xREMOVE_BIT( ch->act, ACT_SECRETIVE );
act_comm.c:    for ( vch = ch->in_room->first_person; vch; vch = vch->next_in_room )
act_comm.c:				" are unable to do so.\n\r", ch->name);
act_comm.c:	if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c:	    int speakswell = UMIN(knows_language(vch, ch->speaking, ch),
act_comm.c:				      knows_language(ch, ch->speaking, vch));
act_comm.c:	if ( !knows_language(vch, ch->speaking, ch)
act_comm.c:		&&  (!IS_NPC(ch) || ch->speaking != 0) )
act_comm.c:		sbuf = scramble(argument, ch->speaking);
act_comm.c:    ch->act = actflags;
act_comm.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c:	sprintf( buf, "%s: %s", IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c:    if ( ch->in_room && IS_SET( ch->in_room->room_flags, ROOM_AMPLIFY ) )
act_comm.c:	actflags = ch->act;
act_comm.c:	xREMOVE_BIT(ch->act, ACT_SECRETIVE);
act_comm.c:	was_in_room = ch->in_room;
act_comm.c:			ch->in_room = pexit->to_room;
act_comm.c:	ch->act = actflags;
act_comm.c:	ch->in_room = was_in_room;
act_comm.c:	if ( ch->speaking & lang_array[lang] )
act_comm.c:    REMOVE_BIT( ch->deaf, CHANNEL_WHISPER );
act_comm.c:			"are unable to do so.\n\r", ch->name);
act_comm.c:    if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c:	int speakswell = UMIN(knows_language(victim, ch->speaking, ch),
act_comm.c:			      knows_language(ch, ch->speaking, victim));
act_comm.c:    if ( !knows_language(vch, ch->speaking, ch ) &&
act_comm.c:		( !IS_NPC(ch) || ch->speaking != 0) ) {
act_comm.c:    if ( !IS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c:		 IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c:	        ch_printf(victim, "&W^z%s beeps you from '%s'^x&w\a\n\r", PERS(ch, victim), ch->in_room->name);
act_comm.c:	if ( ch->speaking & lang_array[lang] )
act_comm.c:		REMOVE_BIT( ch->deaf, CHANNEL_TELLS );
act_comm.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c:    && ( xIS_SET(ch->act, PLR_SILENCE)
act_comm.c:    ||   xIS_SET(ch->act, PLR_NO_TELL) ) )
act_comm.c:       || ( IS_NPC(victim) && victim->in_room != ch->in_room ) 
act_comm.c:			"are unable to do so.\n\r", ch->name);
act_comm.c:    ch->retell = victim;
act_comm.c:    	isalpha(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]))
act_comm.c:		capitalize(IS_NPC(ch) ? ch->short_descr : ch->name),
act_comm.c:		tolower(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]) - 'a';
act_comm.c:    if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c:	int speakswell = UMIN(knows_language(victim, ch->speaking, ch),
act_comm.c:			      knows_language(ch, ch->speaking, victim));
act_comm.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c:		 IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c:	if ( ch->speaking & lang_array[lang] )
act_comm.c:	    REMOVE_BIT( ch->deaf, CHANNEL_TELLS );
act_comm.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c:    if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_SILENCE) )
act_comm.c:    if ( ( victim = ch->reply ) == NULL )
act_comm.c:    			"are unable to do so.\n\r", ch->name);
act_comm.c:    if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c:	int speakswell = UMIN(knows_language(victim, ch->speaking, ch),
act_comm.c:			      knows_language(ch, ch->speaking, victim));
act_comm.c:    if ( knows_language( victim, ch->speaking, ch ) ||
act_comm.c:    	 (IS_NPC(ch) && !ch->speaking) )
act_comm.c:		act( AT_TELL, "$n tells you '$t'", ch, scramble(argument, ch->speaking), victim, TO_VICT );
act_comm.c:    ch->retell		= victim;
act_comm.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c:		 IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c:    	isalpha(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]))
act_comm.c:    		capitalize(IS_NPC(ch) ? ch->short_descr : ch->name),
act_comm.c:    		tolower(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]) - 'a';
act_comm.c:	    if ( ch->speaking & lang_array[lang] )
act_comm.c:			REMOVE_BIT(ch->deaf, CHANNEL_TELLS);
act_comm.c:	if(IS_SET(ch->in_room->room_flags, ROOM_SILENCE))
act_comm.c:	if ( !IS_NPC(ch) && (xIS_SET(ch->act, PLR_SILENCE)
act_comm.c:	||   xIS_SET(ch->act, PLR_NO_TELL)) )
act_comm.c:	victim = ch->retell;
act_comm.c:				"are unable to do so.\n\r", ch->name);
act_comm.c:		isalpha(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]))
act_comm.c:			capitalize(IS_NPC(ch) ? ch->short_descr : ch->name),
act_comm.c:			tolower(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0])
act_comm.c:	if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c:	    int speakswell = UMIN(knows_language(victim, ch->speaking, ch),
act_comm.c:			      knows_language(ch, ch->speaking, victim));
act_comm.c:	if(knows_language(victim, ch->speaking, ch) ||
act_comm.c:		(IS_NPC(ch) && !ch->speaking))
act_comm.c:			scramble(argument, ch->speaking), victim, TO_VICT);
act_comm.c:	if(IS_SET(ch->in_room->room_flags, ROOM_LOGSPEECH))
act_comm.c:			IS_NPC(ch) ? ch->short_descr : ch->name,
act_comm.c:	if(IS_NPC(ch) || !IS_IMMORTAL(ch) || !ch->pcdata->tell_history)
act_comm.c:		index = ch->pcdata->lt_index;
act_comm.c:	if(ch->pcdata->tell_history[index])
act_comm.c:		ch_printf(ch, ch->pcdata->tell_history[index]);
act_comm.c:	if ( ch->speaking & lang_array[lang] )
act_comm.c:    if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_NO_EMOTE) )
act_comm.c:    actflags = ch->act;
act_comm.c:	xREMOVE_BIT( ch->act, ACT_SECRETIVE );
act_comm.c:	for ( vch = ch->in_room->first_person; vch; vch = vch->next_in_room )
act_comm.c:					" are unable to do so.\n\r", ch->name);
act_comm.c:		if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c:		    int speakswell = UMIN(knows_language(vch, ch->speaking, ch),
act_comm.c:					  knows_language(ch, ch->speaking, vch));
act_comm.c:		if ( !knows_language( vch, ch->speaking, ch ) &&
act_comm.c:			 (!IS_NPC(ch) && ch->speaking != 0) )
act_comm.c:			sbuf = scramble(buf, ch->speaking);
act_comm.c:    ch->act = actflags;
act_comm.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c:	sprintf( buf, "%s %s (emote)", IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c:    if ( ch->position == POS_FIGHTING
act_comm.c:       || ch->position ==  POS_EVASIVE
act_comm.c:       || ch->position ==  POS_DEFENSIVE
act_comm.c:       || ch->position ==  POS_AGGRESSIVE
act_comm.c:       || ch->position ==  POS_BERSERK
act_comm.c:    if ( ch->position  < POS_STUNNED  )
act_comm.c:    if ( IS_PKILL( ch ) && ch->wimpy > (int) ch->max_hit / 2.25 )
act_comm.c:	drop_artifacts(ch, ch->last_carrying);
act_comm.c:    if ( ch->position == POS_MOUNTED )
act_comm.c:    sprintf( log_buf, "%s has quit (Room %d).", ch->name, 
act_comm.c:	( ch->in_room ? ch->in_room->vnum : -1 ) );
act_comm.c:    if ( sysdata.save_pets && ch->pcdata->pet )
act_comm.c:		ch->pcdata->pet, TO_ROOM );
act_comm.c:       extract_char( ch->pcdata->pet, TRUE );
act_comm.c:    if ( ch->pcdata->clan )
act_comm.c:        save_clan( ch->pcdata->clan );     
act_comm.c:    if ( ch->level >= 1 )
act_comm.c:	for ( vch = first_char; vch; vch = vch->next )
act_comm.c:	/* Expecting a ch->last_carrying or an obj->last_content
act_comm.c:			obj_to_room(tobj, ch->in_room);
act_comm.c:      write_to_buffer(ch->desc,BUFF,num);
act_comm.c:      write_to_buffer(ch->desc,BUFF,num);
act_comm.c:      write_to_buffer(ch->desc,BUFF,num);
act_comm.c:      write_to_buffer(ch->desc,BUFF,num);
act_comm.c:    sprintf(arg1,"%s: omenu %s",ch->name,argument);
act_comm.c:    ch->inter_type = OBJ_TYPE;
act_comm.c:    ch->inter_substate = SUB_NORTH;
act_comm.c:    if( ch->inter_editing != NULL) DISPOSE(ch->inter_editing);
act_comm.c:    ch->inter_editing      =  str_dup(obj->pIndexData->name);
act_comm.c:    sscanf(ch->inter_editing,"%s",ch->inter_editing);  /*one-arg*/
act_comm.c:    ch->inter_editing_vnum =  obj->pIndexData->vnum;
act_comm.c:    sprintf(arg1,"%s: rmenu %s",ch->name,argument);
act_comm.c:    idx = ch->in_room;
act_comm.c:    ch->inter_type = ROOM_TYPE;
act_comm.c:    ch->inter_substate = SUB_NORTH;
act_comm.c:    if( ch->inter_editing != NULL) DISPOSE(ch->inter_editing);
act_comm.c:    ch->inter_editing      =  str_dup(idx->name);  
act_comm.c:    sscanf(ch->inter_editing,"%s",ch->inter_editing);  /*one-arg*/
act_comm.c:    ch->inter_editing_vnum =  idx->vnum;
act_comm.c:    sprintf(arg1,"%s: cmenu %s",ch->name,argument);
act_comm.c:    ch->inter_type = CONTROL_TYPE;
act_comm.c:    if( ch->inter_editing != NULL) DISPOSE(ch->inter_editing);
act_comm.c:    ch->inter_editing      =  str_dup("Control Panel");  
act_comm.c:    sscanf(ch->inter_editing,"%s",ch->inter_editing);  /*one-arg*/
act_comm.c:    sprintf(arg1,"%s: mmenu %s",ch->name,argument);
act_comm.c:    ch->inter_type = MOB_TYPE;
act_comm.c:    if( ch->inter_editing != NULL) DISPOSE(ch->inter_editing);
act_comm.c:    ch->inter_editing      =  str_dup(arg1);
act_comm.c:    sscanf(ch->inter_editing,"%s",ch->inter_editing);  /*one-arg*/
act_comm.c:    ch->inter_editing_vnum =  victim->pIndexData->vnum;
act_comm.c:	xSET_BIT(ch->act,PLR_RIP);
act_comm.c:	xSET_BIT(ch->act,PLR_ANSI);
act_comm.c:	xREMOVE_BIT(ch->act,PLR_RIP);
act_comm.c:	xSET_BIT(ch->act,PLR_ANSI);
act_comm.c:	xREMOVE_BIT(ch->act,PLR_ANSI);
act_comm.c:    if ( ch->level < 2 ) {
act_comm.c:    if ( IS_AFFECTED(ch, AFF_CHARM) && ch->master )
act_comm.c:	act( AT_PLAIN, "But you'd rather follow $N!", ch, NULL, ch->master, TO_CHAR );
act_comm.c:	if ( !ch->master )
act_comm.c:    if ( ( ch->level - victim->level < -10 || ch->level - victim->level >  10 )
act_comm.c:    &&   !IS_HERO(ch) && !(ch->level < 15 && !IS_NPC(victim) 
act_comm.c:    if ( ch->master )
act_comm.c:    if ( ch->master )
act_comm.c:    ch->master        = master;
act_comm.c:    ch->leader        = NULL;
act_comm.c:    if ( IS_NPC(ch) && xIS_SET(ch->act, ACT_PET) && !IS_NPC(master) )
act_comm.c:    if ( !ch->master )
act_comm.c:    if ( IS_NPC(ch) && !IS_NPC(ch->master) && ch->master->pcdata->pet == ch )
act_comm.c:	ch->master->pcdata->pet = NULL;
act_comm.c:	xREMOVE_BIT( ch->affected_by, AFF_CHARM );
act_comm.c:    if ( can_see( ch->master, ch ) )
act_comm.c:	if (!(!IS_NPC(ch->master) && IS_IMMORTAL(ch) && !IS_IMMORTAL(ch->master)))
act_comm.c:	    act( AT_ACTION, "$n stops following you.",     ch, NULL, ch->master, TO_VICT  );
act_comm.c:    act( AT_ACTION, "You stop following $N.",      ch, NULL, ch->master, TO_CHAR    );
act_comm.c:    ch->master = NULL;
act_comm.c:    ch->leader = NULL;
act_comm.c:    if ( ch->master )
act_comm.c:    ch->leader = NULL;
act_comm.c:    for ( fch = first_char; fch; fch = fch->next )
act_comm.c:	if ( fch->master == ch )
act_comm.c:	if ( fch->leader == ch )
act_comm.c:	    fch->leader = fch;
act_comm.c:    for ( och = ch->in_room->first_person; och; och = och_next )
act_comm.c:	och_next = och->next_in_room;
act_comm.c:	if ( IS_AFFECTED(och, AFF_CHARM) && och->master == ch 
act_comm.c:        sprintf( log_buf, "%s: order %s.", ch->name, argbuf );
act_comm.c:        log_string_plus( log_buf, LOG_NORMAL, ch->level );
act_comm.c:	leader = ch->leader ? ch->leader : ch;
act_comm.c:		ch->level < LEVEL_AVATAR ? " [to lvl]" : "" );
act_comm.c:	for ( gch = first_char; gch; gch = gch->next )
act_comm.c:		if (IS_AFFECTED(gch, AFF_POSSESS) || IS_SET( ch->pcdata->flags, PCFLAG_ANONYMOUS)) /*reveal no information*/
act_comm.c:		    	gch->level,
act_comm.c:		    	IS_NPC(gch) ? "Mob" : class_table[gch->class]->who_name,
act_comm.c:              	    if      ( gch->alignment >  750 ) sprintf(buf, " A");
act_comm.c:                    else if ( gch->alignment >  350 ) sprintf(buf, "-A");
act_comm.c:                    else if ( gch->alignment >  150 ) sprintf(buf, "+N");
act_comm.c:                    else if ( gch->alignment > -150 ) sprintf(buf, " N");
act_comm.c:                    else if ( gch->alignment > -350 ) sprintf(buf, "-N");
act_comm.c:                    else if ( gch->alignment > -750 ) sprintf(buf, "+S");
act_comm.c:			gch->level,
act_comm.c:			IS_NPC(gch) ? "Mob" : class_table[gch->class]->who_name );
act_comm.c:                    if ( gch->hit < gch->max_hit/4 )
act_comm.c:                    else if ( gch->hit < gch->max_hit/2.5 )
act_comm.c:                    ch_printf( ch, "%5d", gch->hit );
act_comm.c:                    ch_printf( ch, "/%-5d ", gch->max_hit );
act_comm.c:		    if ( gch->class != CLASS_WARRIOR )
act_comm.c:			IS_VAMPIRE(gch) ? gch->pcdata->condition[COND_BLOODTHIRST] : gch->mana,
act_comm.c:                        IS_VAMPIRE(gch) ? 10 + gch->level : gch->max_mana );
act_comm.c:		    if ( gch->mental_state < -25 || gch->mental_state > 25 )
act_comm.c:                        gch->mental_state > 75  ? "+++" :
act_comm.c:                        gch->mental_state > 50  ? "=++" :
act_comm.c:                        gch->mental_state > 25  ? "==+" :
act_comm.c:                        gch->mental_state > -25 ? "===" :
act_comm.c:                        gch->mental_state > -50 ? "-==" :
act_comm.c:                        gch->mental_state > -75 ? "--=" :
act_comm.c:                        gch->move );
act_comm.c:		    ch_printf( ch, "%6s ", npc_race[gch->race]);
act_comm.c:		    if ( gch->level < LEVEL_AVATAR )
act_comm.c:			exp_level( gch, gch->level+1) - gch->exp );
act_comm.c:	if ( ch->leader || ch->master )
act_comm.c:	for ( gch = first_char; gch; gch = gch->next )
act_comm.c:		gch->leader = NULL;
act_comm.c:		gch->master = NULL;
act_comm.c:        for ( rch = ch->in_room->first_person; rch; rch = rch->next_in_room )
act_comm.c:	   &&   rch->master == ch
act_comm.c:	   &&   !ch->master
act_comm.c:	   &&   !ch->leader
act_comm.c:/*    	   &&   abs( ch->level - rch->level ) < 8  Level restrict on groups is stupid -- Scion */
act_comm.c:		rch->leader = ch;
act_comm.c:    if ( ch->master || ( ch->leader && ch->leader != ch ) )
act_comm.c:    if ( ch->level - victim->level < -8
act_comm.c:    ||   ch->level - victim->level >  8 
act_comm.c:    if ( ch->gold < amount )
act_comm.c:    for ( gch = ch->in_room->first_person; gch; gch = gch->next_in_room )
act_comm.c:    if ( xIS_SET(ch->act, PLR_AUTOGOLD) && members < 2 )
act_comm.c:    ch->gold -= amount;
act_comm.c:    ch->gold += share + extra;
act_comm.c:    for ( gch = ch->in_room->first_person; gch; gch = gch->next_in_room )
act_comm.c:	    gch->gold += share;
act_comm.c:	if ( ch->speaking & lang_array[lang] )
act_comm.c:    if ( xIS_SET(ch->act, PLR_NO_TELL) )
act_comm.c:/*    sprintf( buf, "%s tells the group '%s'.\n\r", ch->name, argument );*/
act_comm.c:    for ( gch = first_char; gch; gch = gch->next )
act_comm.c:	    if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c:		int speakswell = UMIN(knows_language(gch, ch->speaking, ch),
act_comm.c:				      knows_language(ch, ch->speaking, gch));
act_comm.c:		    ch_printf( gch, "%s tells the group '%s'.\n\r", ch->name, translate(speakswell, argument, lang_names[speaking]) );
act_comm.c:		    ch_printf( gch, "%s tells the group '%s'.\n\r", ch->name, argument );
act_comm.c:		ch_printf( gch, "%s tells the group '%s'.\n\r", ch->name, argument );
act_comm.c:	    if ( knows_language( gch, ch->speaking, gch )
act_comm.c:	    ||  (IS_NPC(ch) && !ch->speaking) )
act_comm.c:		ch_printf( gch, "%s tells the group '%s'.\n\r", ch->name, argument );
act_comm.c:		ch_printf( gch, "%s tells the group '%s'.\n\r", ch->name, scramble(argument, ch->speaking) );
act_comm.c:    if ( ach->leader ) ach = ach->leader;
act_comm.c:    if ( bch->leader ) bch = bch->leader;
act_comm.c:	if ( IS_NPC(ch) && !ch->speaks ) /* No langs = knows nothing for npcs */
act_comm.c:	if ( IS_NPC(ch) && IS_SET(ch->speaks, (language & ~LANG_CLAN)) )
act_comm.c:		return (50+(25 - ch->mod_int)*2);
act_comm.c:		return (50+(25 - ch->int)*2);
act_comm.c:			return (50+(25 - ch->int)*2);
act_comm.c:		if ( ch->pcdata->clan == cch->pcdata->clan &&
act_comm.c:			 ch->pcdata->clan != NULL )
act_comm.c:			return (50+(25 - ch->int)*2);
act_comm.c:	    if ( IS_SET(race_table[ch->race]->language, language) )
act_comm.c:			return ((65+(25 - ch->mod_int)*2)<=100 ? (65+(25 - ch->mod_int)*2) : 100);
act_comm.c:	      	   IS_SET(ch->speaks, lang_array[lang]) )
act_comm.c:		    return ch->pcdata->learned[sn];
act_comm.c:	if ( race_table[ch->race]->language & language )
act_comm.c:	if ( ch->speaks & language )
act_comm.c:				if ( ch->pcdata->learned[sn] >= 99 )
act_comm.c:		ch->speaking = ~LANG_CLAN;
act_comm.c:					(IS_NPC(ch) || !ch->pcdata->clan) )
act_comm.c:				ch->speaking = lang_array[langs];
act_comm.c:		if ( race_table[ch->race]->language & lang_array[lang] ||
act_comm.c:			 ch->pcdata->learned[sn] >= 99 )
act_comm.c:		for ( sch = ch->in_room->first_person; sch; sch = sch->next )
act_comm.c:			if ( IS_NPC(sch) && xIS_SET(sch->act, ACT_SCHOLAR)
act_comm.c:			&&   knows_language( sch, ch->speaking, ch )
act_comm.c:			&& (!sch->speaking || knows_language( ch, sch->speaking, sch )) )
act_comm.c:		if ( countlangs(ch->speaks) >= (ch->level / 10) &&
act_comm.c:			 ch->pcdata->learned[sn] <= 0 )
act_comm.c:		if ( ch->practice < prac )
act_comm.c:		ch->practice -= prac;
act_comm.c:		ch->pcdata->learned[sn] += prct;
act_comm.c:		ch->pcdata->learned[sn] = UMIN(ch->pcdata->learned[sn], 99);
act_comm.c:		SET_BIT( ch->speaks, lang_array[lang] );
act_comm.c:		if ( ch->pcdata->learned[sn] == prct )
act_comm.c:		else if ( ch->pcdata->learned[sn] < 60 )
act_comm.c:		else if ( ch->pcdata->learned[sn] < 60 + prct )
act_comm.c:		else if ( ch->pcdata->learned[sn] < 99 )
act_comm.c:			if ( ch->speaking & lang_array[lang] ||
act_comm.c:				(IS_NPC(ch) && !ch->speaking) )
act_info.c:    if (  (IS_AFFECTED(ch, AFF_DETECT_EVIL) || ch->class==CLASS_PALADIN)
act_info.c:    if ( ch->class==CLASS_PALADIN
act_info.c:    if ( ch->class==CLASS_PALADIN
act_info.c:    if ( ch->class==CLASS_PALADIN
act_info.c:    if ( ch->class==CLASS_PALADIN
act_info.c:    if ( ch->class==CLASS_PALADIN
act_info.c:    if ( ch->class==CLASS_PALADIN
act_info.c:    if ( !ch->desc )
act_info.c:	   if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) )
act_info.c:    ms  = (ch->mental_state ? ch->mental_state : 1)
act_info.c:	* (IS_NPC(ch) ? 1 : (ch->pcdata->condition[COND_DRUNK] ? (ch->pcdata->condition[COND_DRUNK]/12) : 1));
act_info.c:	   if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) )
act_info.c:	    if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) )
act_info.c:/*	if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) ) */
act_info.c:	if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) )
act_info.c:    if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_info.c:    &&   (  IS_AFFECTED(ch, AFF_DETECT_EVIL) || ch->class==CLASS_PALADIN)     ) strcat( buf, "(Red Aura) "   );
act_info.c:    &&   ch->class==CLASS_PALADIN  ) strcat( buf, "(Grey Aura) "   );
act_info.c:    &&   ch->class==CLASS_PALADIN  ) strcat( buf, "(White Aura) "   );
act_info.c:    if ( IS_NPC(victim) && ch->mount && ch->mount == victim
act_info.c:         && ch->in_room == ch->mount->in_room ) strcat( buf, "(Mount) "      );
act_info.c:    	   if ( !IS_NPC(victim) && !xIS_SET(ch->act, PLR_BRIEF) )
act_info.c:    if ( !IS_NPC(victim) && !xIS_SET(ch->act, PLR_BRIEF) )
act_info.c:        if (ch->position == POS_SITTING
act_info.c:        ||  ch->position == POS_RESTING )
act_info.c:        if (ch->position == POS_RESTING)
act_info.c:	if (ch->position == POS_MOUNTED)
act_info.c:        if (ch->position == POS_SITTING)
act_info.c:        if (ch->position == POS_RESTING)
act_info.c:    if ( can_see( victim, ch ) && !IS_NPC( ch ) && !xIS_SET( ch->act, PLR_WIZINVIS ) )
act_info.c:      if ( ch->pcdata->learned[gsn_peek] > 0 )
act_info.c:    for ( rch = list; rch; rch = rch->next_in_room )
act_info.c:	else if ( room_is_dark( ch->in_room )
act_info.c:    if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_info.c:    if ( !ch->desc )
act_info.c:    if ( ch->position < POS_SLEEPING )
act_info.c:    if ( ch->position == POS_SLEEPING )
act_info.c:    &&   !xIS_SET(ch->act, PLR_HOLYLIGHT)
act_info.c:    &&   room_is_dark( ch->in_room ) )
act_info.c:	show_char_to_char( ch->in_room->first_person, ch );
act_info.c:	switch ( ch->inter_page )    /* rmenu */
act_info.c:        if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_info.c:        	ch_printf(ch,"[%d] ",ch->in_room->vnum);
act_info.c:	send_to_char( ch->in_room->name, ch );
act_info.c:	|| ( !IS_NPC(ch) && !xIS_SET(ch->act, PLR_BRIEF) ) )
act_info.c:	    send_to_char( ch->in_room->description, ch );
act_info.c:/*	if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_AUTOMAP) ) */   /* maps */
act_info.c:	    if(ch->in_room->map != NULL)
act_info.c:	if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_AUTOEXIT) )
act_info.c:	show_list_to_char( ch->in_room->first_content, ch, FALSE, FALSE );
act_info.c:	show_char_to_char( ch->in_room->first_person,  ch );
act_info.c:	if ( !CAN_WEAR( obj, ITEM_TAKE ) && ch->level < sysdata.level_getobjnotake )
act_info.c:	if ( ch->carry_weight + obj->weight > can_carry_w( ch ) )
act_info.c:	    for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_info.c:		    original = ch->in_room;
act_info.c:    if ( (pdesc=get_extra_descr(arg1, ch->in_room->first_extradesc)) != NULL )
act_info.c:	||   ch->class == CLASS_THIEF
act_info.c:        ||   ch->class == CLASS_ASSASSIN
act_info.c:			if ( ch->class == CLASS_THIEF )
act_info.c:	    original = ch->in_room;
act_info.c:    for ( cnt = 0, obj = ch->last_carrying; obj; obj = obj->prev_content )
act_info.c:    for ( obj = ch->in_room->last_content; obj; obj = obj->prev_content )
act_info.c:  if ( !ch->desc )
act_info.c:  if ( ch->position < POS_SLEEPING )
act_info.c:  if ( ch->position == POS_SLEEPING )
act_info.c:    if ( xIS_SET(ch->act, PLR_BRIEF) )
act_info.c:    xSET_BIT( ch->act, PLR_BRIEF );
act_info.c:	xREMOVE_BIT(ch->act, PLR_BRIEF);
act_info.c:    for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_info.c:                if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_info.c:	temp = (ch->in_room->area->weather->temp + 3*weath_unit - 1)/
act_info.c:	precip = (ch->in_room->area->weather->precip + 3*weath_unit - 1)/
act_info.c:	wind = (ch->in_room->area->weather->wind + 3*weath_unit - 1)/
act_info.c:	SET_BIT(ch->pcdata->flags, PCFLAG_HELPSTART);
act_info.c:    if ( !ch->desc )
act_info.c:    switch( ch->substate )
act_info.c:	  if ( (pHelp = ch->dest_buf) == NULL )
act_info.c:		bug( "hedit: sub_help_edit: NULL ch->dest_buf", 0 );
act_info.c:    ch->substate = SUB_HELP_EDIT;
act_info.c:    ch->dest_buf = pHelp;
act_info.c:    if (!wch->leader || wch->leader == wch || !wch->leader->desc ||
act_info.c:         IS_NPC(wch->leader) || IS_IMMORTAL(wch) || IS_IMMORTAL(wch->leader))
act_info.c:      if (wch->leader && wch->leader != wch && wch->leader->desc &&
act_info.c:         !IS_NPC(wch->leader) && !IS_IMMORTAL(wch) &&
act_info.c:         !IS_IMMORTAL(wch->leader) &&
act_info.c:         (whogr_t = find_whogr(wch->leader->desc, first_whogr)))
act_info.c:	if ( wch->level < iLevelLower
act_info.c:	||   wch->level > iLevelUpper
act_info.c:	|| ( fImmortalOnly  && wch->level < LEVEL_IMMORTAL )
act_info.c:	|| ( fClassRestrict && !rgfClass[wch->class] )
act_info.c:	|| ( fRaceRestrict && !rgfRace[wch->race] )
act_info.c:	|| ( fClanMatch && ( pClan != wch->pcdata->clan ))  /* SB */
act_info.c:        || ( fCouncilMatch && ( pCouncil != wch->pcdata->council )) /* SB */ 
act_info.c:	|| ( fDeityMatch && ( pDeity != wch->pcdata->deity )) )
act_info.c:	if ( fLeader && !(wch->pcdata->council && 
act_info.c:	     ((wch->pcdata->council->head2 &&
act_info.c:	     !str_cmp(wch->pcdata->council->head2, wch->name)) ||
act_info.c:	     (wch->pcdata->council->head &&
act_info.c:	     !str_cmp(wch->pcdata->council->head, wch->name)))) &&
act_info.c:	     !(wch->pcdata->clan && ((wch->pcdata->clan->deity &&
act_info.c:	     !str_cmp(wch->pcdata->clan->deity,wch->name) )
act_info.c:	     || (wch->pcdata->clan->leader
act_info.c:	     && !str_cmp(wch->pcdata->clan->leader, wch->name ) )
act_info.c:	     || (wch->pcdata->clan->number1
act_info.c:	     && !str_cmp(wch->pcdata->clan->number1, wch->name ) )
act_info.c:	     || (wch->pcdata->clan->number2 
act_info.c:	     && !str_cmp(wch->pcdata->clan->number2, wch->name )))))
act_info.c:	if (fGroup && !wch->leader &&
act_info.c:	   !IS_SET(wch->pcdata->flags, PCFLAG_GROUPWHO) &&
act_info.c:	&&   wch->pcdata->homepage
act_info.c:	&&   wch->pcdata->homepage[0] != '\0' )
act_info.c:		show_tilde( wch->pcdata->homepage ), wch->name );
act_info.c:	  strcpy( char_name, wch->name );
act_info.c:	/*sprintf( class_text, "%s%2d %s", NOT_AUTHED(wch) ? "N" : " ", wch->level, class_table[wch->class]->who_name ); */
act_info.c:	sprintf( class_text, "%3d %3.3s", wch->level, class_table[wch->class]->who_name );
act_info.c:	switch ( wch->level )
act_info.c:        if ( !str_cmp( wch->name, sysdata.guild_overseer ) )
act_info.c:        else if ( !str_cmp( wch->name, sysdata.guild_advisor ) )
act_info.c:	else if ( wch->pcdata->rank && wch->pcdata->rank[0] != '\0' )
act_info.c:	  class = wch->pcdata->rank;
act_info.c:	if (IS_SET( wch->pcdata->flags, PCFLAG_ANONYMOUS))
act_info.c:	if ( wch->pcdata->clan )
act_info.c:          CLAN_DATA *pclan = wch->pcdata->clan;
act_info.c:	    if ( !str_cmp( wch->name, pclan->deity ) )
act_info.c:	    if ( !str_cmp( wch->name, pclan->leader ) )
act_info.c:	    if ( !str_cmp( wch->name, pclan->number1 ) )
act_info.c:	    if ( !str_cmp( wch->name, pclan->number2 ) )
act_info.c:	    if ( !str_cmp( wch->name, pclan->leader ) )
act_info.c:            if ( !str_cmp( wch->name, pclan->number1 ) )
act_info.c:            if ( !str_cmp( wch->name, pclan->number2 ) )
act_info.c:	    if ( !str_cmp( wch->name, pclan->deity ) )
act_info.c:	    if ( !str_cmp( wch->name, pclan->leader ) )
act_info.c:	    if ( !str_cmp( wch->name, pclan->number1 ) )
act_info.c:	    if ( !str_cmp( wch->name, pclan->number2 ) )
act_info.c:	if ( wch->pcdata->council )
act_info.c:          if (  wch->pcdata->council->head2 == NULL )
act_info.c:             if (!str_cmp (wch->name, wch->pcdata->council->head))
act_info.c:             if (!str_cmp (wch->name, wch->pcdata->council->head)
act_info.c:                 || !str_cmp ( wch->name, wch->pcdata->council->head2) )
act_info.c:          strcat( council_name, wch->pcdata->council_name );
act_info.c:	if ( xIS_SET(wch->act, PLR_WIZINVIS) )
act_info.c:	  sprintf( invis_str, " &R(&W%d&R)&w", wch->pcdata->wizinvis );
act_info.c:          IS_SET( wch->pcdata->flags, PCFLAG_DEADLY ) ? "&WPK" : "&W--",
act_info.c:	  (wch->pcdata->extraname ? wch->pcdata->extraname : " "),
act_info.c:	      (wch->pcdata->lastname ? wch->pcdata->lastname : "" ),
act_info.c:          wch->pcdata->title,
act_info.c:          (wch->desc && wch->desc->connected) ? " &Y[&WWRITING&Y]&w " : "",
act_info.c:          xIS_SET(wch->act, PLR_AFK) ? " &Y[&WAWAY&Y]&w " : "",
act_info.c:          xIS_SET(wch->act, PLR_ATTACKER) ? " &R(&W^zATTACKER^x&R)&w " : "",
act_info.c:          xIS_SET(wch->act, PLR_KILLER) ? " &R(&W^zKILLER^x&R)&w " : "",
act_info.c:          xIS_SET(wch->act, PLR_THIEF)  ? " &R(&W^zTHIEF^x&R)&w "  : ""
act_info.c:            if ( wch->leader || (whogr_p && whogr_p->indent) )
act_info.c:	for ( obj2 = ch->first_carrying; obj2; obj2 = obj2->next_content )
act_info.c:        pager_printf( ch, "\n\rPlayers near you in %s:\n\r", ch->in_room->area->name );
act_info.c:	    &&   victim->in_room->area == ch->in_room->area
act_info.c:	    &&   victim->in_room->area == ch->in_room->area
act_info.c:    diff = victim->level - ch->level;
act_info.c:    diff = (int) (victim->max_hit - ch->max_hit) / 6;
act_info.c:    if ( ch->level < 2 )
act_info.c:		  || (ch->pcdata->clan->class != skill_table[sn]->guild) ) ) )
act_info.c:	    if ( ch->level < skill_table[sn]->skill_level[ch->class]
act_info.c:	    || (!IS_IMMORTAL(ch) && skill_table[sn]->skill_level[ch->class] == 0) )
act_info.c:	    if ( ch->pcdata->learned[sn] <= 0
act_info.c:	    if ( ch->pcdata->learned[sn] > 0 )
act_info.c:	    pager_printf( ch, " %3d%% ", ch->pcdata->learned[sn] );
act_info.c:	    ch->practice );
act_info.c:	for ( mob = ch->in_room->first_person; mob; mob = mob->next_in_room )
act_info.c:	if ( ch->practice <= 0 )
act_info.c:	            &&  ch->level < skill_table[sn]->skill_level[ch->class] 
act_info.c:                    &&  ch->level < skill_table[sn]->race_level[ch->race]  
act_info.c:	     && ch->pcdata->clan->class != skill_table[sn]->guild )
act_info.c:	if ( mob->level < skill_table[sn]->skill_level[ch->class]
act_info.c:	adept = class_table[ch->class]->skill_adept * 0.2;
act_info.c:	if ( ch->pcdata->learned[sn] >= adept )
act_info.c:	    ch->practice--;
act_info.c:	    ch->pcdata->learned[sn] += int_app[get_curr_int(ch)].learn;
act_info.c:	    if ( ch->pcdata->learned[sn] >= adept )
act_info.c:		ch->pcdata->learned[sn] = adept;
act_info.c:	wimpy = (int) ch->max_hit / 2.25;
act_info.c:	wimpy = (int) ch->max_hit / 1.2;
act_info.c:      wimpy = (int) ch->max_hit / 5;
act_info.c:    if ( IS_PKILL( ch ) && wimpy > (int) ch->max_hit / 2.25 )
act_info.c:    else if ( wimpy > (int) ch->max_hit / 1.2 )
act_info.c:    ch->wimpy	= wimpy;
act_info.c:    if ( strcmp( crypt( arg1, ch->pcdata->pwd ), ch->pcdata->pwd ) )
act_info.c:    pwdnew = crypt( arg2, ch->name );
act_info.c:    DISPOSE( ch->pcdata->pwd );
act_info.c:    ch->pcdata->pwd = str_dup( pwdnew );
act_info.c:        if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_SILENCE) )
act_info.c:	ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_RACETALK )?
act_info.c:        ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_CHAT )    ?
act_info.c:          ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_AUCTION ) ?
act_info.c:        ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_QUEST )   ?
act_info.c:        ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_WARTALK ) ?
act_info.c:          ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_AVTALK )  ?
act_info.c:        ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_MUSIC )   ?
act_info.c:        ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_ASK )     ?
act_info.c:        ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_SHOUT )   ?
act_info.c:        ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_YELL )    ?
act_info.c:	ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_GRATZ )   ?
act_info.c:        ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_TELLS )   ?
act_info.c:        ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_WHISPER )   ?
act_info.c:        if ( !IS_NPC( ch ) && ch->pcdata->clan )
act_info.c:          if ( ch->pcdata->clan->clan_type == CLAN_ORDER )
act_info.c:	    send_to_char_color( !IS_SET( ch->deaf, CHANNEL_ORDER ) ?
act_info.c:          else if ( ch->pcdata->clan->clan_type == CLAN_GUILD )
act_info.c:	    send_to_char_color( !IS_SET( ch->deaf, CHANNEL_GUILD ) ?
act_info.c:	    send_to_char_color( !IS_SET( ch->deaf, CHANNEL_CLAN )  ?
act_info.c:        if ( IS_IMMORTAL(ch) || ( ch->pcdata->council
act_info.c:	&&   !str_cmp( ch->pcdata->council->name, "Newbie Council" ) ) )
act_info.c:          ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_NEWBIE) ?
act_info.c:        if ( !IS_NPC( ch ) && ch->pcdata->council )
act_info.c:          ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_COUNCIL)?
act_info.c:            send_to_char_color( !IS_SET( ch->deaf, CHANNEL_IMMTALK )    ?
act_info.c:/*          send_to_char_color( !IS_SET( ch->deaf, CHANNEL_PRAY )       ?
act_info.c:              send_to_char_color( !IS_SET( ch->deaf, CHANNEL_HIGHGOD )  ?
act_info.c:            send_to_char_color( !IS_SET( ch->deaf, CHANNEL_MONITOR )    ?
act_info.c:	    send_to_char_color( !IS_SET( ch->deaf, CHANNEL_AUTH )	?
act_info.c:            send_to_char_color( !IS_SET( ch->deaf, CHANNEL_LOG ) 	?
act_info.c:            send_to_char_color( !IS_SET( ch->deaf, CHANNEL_BUILD)       ?
act_info.c:            send_to_char_color( !IS_SET( ch->deaf, CHANNEL_COMM ) 	?
act_info.c:            send_to_char_color( !IS_SET (ch->deaf, CHANNEL_WARN)
act_info.c:              send_to_char_color( !IS_SET( ch->deaf, CHANNEL_HIGH ) 	?
act_info.c:	    REMOVE_BIT (ch->deaf, CHANNEL_RACETALK);
act_info.c:            REMOVE_BIT (ch->deaf, CHANNEL_AUCTION);
act_info.c:            REMOVE_BIT (ch->deaf, CHANNEL_CHAT);
act_info.c:            REMOVE_BIT (ch->deaf, CHANNEL_QUEST);
act_info.c:            REMOVE_BIT (ch->deaf, CHANNEL_WARTALK);
act_info.c:            REMOVE_BIT (ch->deaf, CHANNEL_PRAY);
act_info.c:            REMOVE_BIT (ch->deaf, CHANNEL_MUSIC);
act_info.c:            REMOVE_BIT (ch->deaf, CHANNEL_ASK);
act_info.c:            REMOVE_BIT (ch->deaf, CHANNEL_SHOUT);
act_info.c:            REMOVE_BIT (ch->deaf, CHANNEL_YELL);
act_info.c:			REMOVE_BIT (ch->deaf, CHANNEL_GRATZ);
act_info.c:       /*     if (ch->pcdata->clan)
act_info.c:              REMOVE_BIT (ch->deaf, CHANNEL_CLAN);
act_info.c:	    if (ch->pcdata->council)
act_info.c:	      REMOVE_BIT (ch->deaf, CHANNEL_COUNCIL);
act_info.c:            if (ch->pcdata->guild)
act_info.c:              REMOVE_BIT (ch->deaf, CHANNEL_GUILD);
act_info.c:            if (ch->level >= LEVEL_IMMORTAL)
act_info.c:              REMOVE_BIT (ch->deaf, CHANNEL_AVTALK);
act_info.c:	    if (ch->level >= sysdata.log_level )
act_info.c:	      REMOVE_BIT (ch->deaf, CHANNEL_COMM);
act_info.c:	    SET_BIT (ch->deaf, CHANNEL_RACETALK);
act_info.c:            SET_BIT (ch->deaf, CHANNEL_AUCTION);
act_info.c:            SET_BIT (ch->deaf, CHANNEL_CHAT);
act_info.c:            SET_BIT (ch->deaf, CHANNEL_QUEST);
act_info.c:            SET_BIT (ch->deaf, CHANNEL_PRAY);
act_info.c:            SET_BIT (ch->deaf, CHANNEL_MUSIC);
act_info.c:            SET_BIT (ch->deaf, CHANNEL_ASK);
act_info.c:            SET_BIT (ch->deaf, CHANNEL_SHOUT);
act_info.c:	    SET_BIT (ch->deaf, CHANNEL_WARTALK);
act_info.c:            SET_BIT (ch->deaf, CHANNEL_YELL);
act_info.c:			SET_BIT (ch->deaf, CHANNEL_GRATZ);
act_info.c:       /*     if (ch->pcdata->clan)
act_info.c:              SET_BIT (ch->deaf, CHANNEL_CLAN);
act_info.c:	    if (ch->pcdata->council)
act_info.c:	      SET_BIT (ch->deaf, CHANNEL_COUNCIL);
act_info.c:              SET_BIT (ch->deaf, CHANNEL_GUILD);
act_info.c:            if (ch->level >= LEVEL_IMMORTAL)
act_info.c:              SET_BIT (ch->deaf, CHANNEL_AVTALK);
act_info.c:	    if (ch->level >= sysdata.log_level)
act_info.c:	      SET_BIT (ch->deaf, CHANNEL_COMM);
act_info.c:	    REMOVE_BIT (ch->deaf, bit);
act_info.c:	    SET_BIT    (ch->deaf, bit);
act_info.c:        IS_SET( ch->pcdata->flags, PCFLAG_PAGERON ) 	? "[+] PAGER"
act_info.c:        IS_SET( ch->pcdata->flags, PCFLAG_GAG )     	? "[+] GAG"
act_info.c:        xIS_SET(ch->act, PLR_BRIEF )                	? "[+] BRIEF"
act_info.c:        xIS_SET(ch->act, PLR_COMBINE )              	? "[+] COMBINE"
act_info.c:        xIS_SET(ch->act, PLR_BLANK )                	? "[+] BLANK"
act_info.c:        xIS_SET(ch->act, PLR_PROMPT )               	? "[+] PROMPT"
act_info.c:        xIS_SET(ch->act, PLR_ANSI )                 	? "[+] ANSI"
act_info.c:        xIS_SET(ch->act, PLR_RIP )                  	? "[+] RIP"
act_info.c:		xIS_SET(ch->act, PLR_NOMENU )					? "[+] NOMENU"
act_info.c:		   IS_SET( ch->pcdata->flags, PCFLAG_NOBEEP )   ? "[+] NOBEEP"
act_info.c:		   IS_SET( ch->pcdata->flags, PCFLAG_ANONYMOUS) ? "[+] ANONYMOUS"
act_info.c:        xIS_SET(ch->act, PLR_AUTOSAC  )             	? "[+] AUTOSAC"
act_info.c:        xIS_SET(ch->act, PLR_AUTOGOLD )             	? "[+] AUTOGOLD"
act_info.c:        xIS_SET(ch->act, PLR_AUTOLOOT )             	? "[+] AUTOLOOT"
act_info.c:        xIS_SET(ch->act, PLR_AUTOEXIT )             	? "[+] AUTOEXIT"
act_info.c:        IS_SET( ch->pcdata->flags, PCFLAG_NORECALL ) 	? "[+] NORECALL"
act_info.c:        IS_SET( ch->pcdata->flags, PCFLAG_NOSUMMON ) 	? "[+] NOSUMMON"
act_info.c:        IS_SET( ch->pcdata->flags, PCFLAG_IMMPROOF ) 	? "[+] IMMPROOF"
act_info.c:           xIS_SET(ch->act, PLR_SHOVEDRAG )             ? "[+] DRAG"
act_info.c:           xIS_SET(ch->act, PLR_NICE )               	? "[+] NICE"
act_info.c:	   xIS_SET(ch->act, PLR_TELNET_GA )		? "[+] TELNETGA"
act_info.c:           IS_SET( ch->pcdata->flags, PCFLAG_GROUPWHO ) ? "[+] GROUPWHO"
act_info.c:           IS_SET( ch->pcdata->flags, PCFLAG_NOINTRO )  ? "[+] NOINTRO"
act_info.c:							ch->pcdata->pagerlen,
act_info.c:						        ch->wimpy );
act_info.c:	  xIS_SET(ch->act, PLR_ROOMVNUM ) 		? "+"
act_info.c:          xIS_SET(ch->act, PLR_AUTOMAP  ) 		? "+"
act_info.c:	xIS_SET( ch->act, PLR_ROOMVNUM )		? "[+] VNUM"
act_info.c:	xIS_SET( ch->act, PLR_AUTOMAP )			? "[+] MAP"
act_info.c:        /*IS_SET( ch->pcdata->flags, PCFLAG_IMMPROOF ) 	? "[+] IMMPROOF"
act_info.c:          xIS_SET(ch->act, PLR_SILENCE )  ?
act_info.c:          xIS_SET(ch->act, PLR_NO_EMOTE ) ?
act_info.c:          xIS_SET(ch->act, PLR_NO_TELL )  ?
act_info.c:          xIS_SET(ch->act, PLR_LITTERBUG )?
act_info.c:          xIS_SET(ch->act, PLR_THIEF )    ?
act_info.c:          xIS_SET(ch->act, PLR_KILLER )   ?
act_info.c:	    xSET_BIT   (ch->act, bit);
act_info.c:	    xREMOVE_BIT(ch->act, bit);
act_info.c:	    SET_BIT    (ch->pcdata->flags, bit);
act_info.c:	    REMOVE_BIT (ch->pcdata->flags, bit);
act_info.c:     if xIS_SET(ch->act, PLR_AFK)
act_info.c:    	xREMOVE_BIT(ch->act, PLR_AFK);
act_info.c:	xSET_BIT(ch->act, PLR_AFK);
act_info.c:	    if ( ch->pcdata->learned[sn] <= 0
act_info.c:	    if(i==skill_table[sn]->skill_level[ch->class]  )
act_info.c:                        ch->pcdata->learned[sn],
act_info.c:                        skill_table[sn]->skill_adept[ch->class],
act_info.c:    if ( IS_SET(ch->pcdata->flags, PCFLAG_PAGERON) )
act_info.c:        ch_printf( ch, "Pager is now enabled at %d lines.\n\r", ch->pcdata->pagerlen );
act_info.c:  ch->pcdata->pagerlen = atoi(arg);
act_info.c:  if ( ch->pcdata->pagerlen < 5 )
act_info.c:    ch->pcdata->pagerlen = 5;
act_info.c:  ch_printf( ch, "Page pausing set to %d lines.\n\r", ch->pcdata->pagerlen );
act_info.c:		if(!ch->pcdata->first_ignored)
act_info.c:		for(temp = ch->pcdata->first_ignored; temp;
act_info.c:		for(temp = ch->pcdata->first_ignored; temp; temp = next)
act_info.c:			UNLINK(temp, ch->pcdata->first_ignored,
act_info.c:					ch->pcdata->last_ignored,
act_info.c:	else if(!strcmp(arg, "self") || nifty_is_name(arg, ch->name))
act_info.c:			if(!ch->reply)
act_info.c:				strcpy(arg, ch->reply->name);
act_info.c:		for(temp = ch->pcdata->first_ignored, i = 0; temp;
act_info.c:				UNLINK(temp, ch->pcdata->first_ignored,
act_info.c:					ch->pcdata->last_ignored,
act_info.c:			LINK(new, ch->pcdata->first_ignored,
act_info.c:				ch->pcdata->last_ignored, next, prev);
act_info.c:	for(temp = ch->pcdata->first_ignored; temp; temp = temp->next)
act_info.c:		if(nifty_is_name(temp->name, ign_ch->name))
act_move.c:    cur = ch->carry_weight;
act_move.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_NOFLOOR )
act_move.c:    || ( ch->mount && !IS_AFFECTED( ch->mount, AFF_FLYING ) ) ) )
act_move.c:	   bug( "Falling (in a loop?) more than 80 rooms: vnum %d", ch->in_room->vnum );
act_move.c:	move_char( ch, get_exit(ch->in_room, DIR_DOWN), ++fall );
act_move.c:    if (ch->on != NULL)		/* is char on floor ??? */
act_move.c:      if ( IS_DRUNK( ch, 2 ) && ( ch->position != POS_SHOVE )
act_move.c:	&& ( ch->position != POS_DRAG ) )
act_move.c:      if ( ch->pcdata->nuisance && ch->pcdata->nuisance->flags > 8 && 
act_move.c:	 ( ch->position != POS_SHOVE ) && ( ch->position != POS_DRAG ) && 
act_move.c:	 number_percent() > (ch->pcdata->nuisance->flags*ch->pcdata->nuisance->power))
act_move.c:      pexit = get_exit( ch->in_room, door );
act_move.c:	sprintf( buf, "move_char: %s to door %d", ch->name, pexit->vdir );
act_move.c:    if ( IS_NPC(ch) && xIS_SET(ch->act, ACT_MOUNTED) )
act_move.c:    in_room = ch->in_room;
act_move.c:	if ( drunk && ch->position != POS_MOUNTED
act_move.c:	&&   ch->in_room->sector_type != SECT_WATER_SWIM
act_move.c:	&&   ch->in_room->sector_type != SECT_WATER_NOSWIM
act_move.c:	&&   ch->in_room->sector_type != SECT_UNDERWATER
act_move.c:	&&   ch->in_room->sector_type != SECT_OCEANFLOOR )
act_move.c:		ch->position = POS_RESTING;
act_move.c:		ch->position = POS_INCAP;
act_move.c:    &&   ch->master
act_move.c:    &&   in_room == ch->master->in_room )
act_move.c:    &&  ch->in_room->area != to_room->area )
act_move.c:	if ( ch->level < to_room->area->low_hard_range )
act_move.c:	    switch( to_room->area->low_hard_range - ch->level )
act_move.c:	if ( ch->level > to_room->area->hi_hard_range )
act_move.c:	    if ( iClass != ch->class
act_move.c:        &&   !IS_SET( ch->in_room->area->flags, AFLAG_NOPKILL )
act_move.c:	    if ( ch->mount && !IS_AFFECTED( ch->mount, AFF_FLYING ) )
act_move.c:	    if ( !ch->mount && !IS_AFFECTED(ch, AFF_FLYING) )
act_move.c:	    if ( (ch->mount && !IS_FLOATING(ch->mount)) || !IS_FLOATING(ch) )
act_move.c:		    if ( ch->mount )
act_move.c:	    if ( ch->mount && IS_AFFECTED( ch->mount, AFF_FLYING ) )
act_move.c:	    if ( !found && !ch->mount )
act_move.c:		||      drunk || ch->mental_state < -90 )
act_move.c:	if ( ch->mount )
act_move.c:	  switch (ch->mount->position)
act_move.c:	  if ( !IS_FLOATING(ch->mount) )
act_move.c:	  if ( ch->mount->move < move )
act_move.c:	  if ( ch->move < move )
act_move.c:	if ( ch->mount )
act_move.c:	  ch->mount->move -= move;
act_move.c:	  ch->move -= move;
act_move.c:	int count = ch->mount ? 1 : 0;
act_move.c:		if ( ch->mount && count == to_room->tunnel )
act_move.c:    && ( IS_NPC(ch) || !xIS_SET(ch->act, PLR_WIZINVIS) ) )
act_move.c:        if ( ch->mount )
act_move.c:	  if ( IS_AFFECTED( ch->mount, AFF_FLOATING ) )
act_move.c:	  if ( IS_AFFECTED( ch->mount, AFF_FLYING ) )
act_move.c:          if ( ch->position == POS_SHOVE )
act_move.c:	  if ( ch->position == POS_DRAG )
act_move.c:      if ( ch->mount )
act_move.c:	act( AT_ACTION, buf, ch, NULL, ch->mount, TO_NOTVICT );
act_move.c:    if ( ch->mount )
act_move.c:      rprog_leave_trigger( ch->mount );
act_move.c:      if( ch->mount )
act_move.c:        char_from_room( ch->mount );
act_move.c:        char_to_room( ch->mount, to_room );
act_move.c:    && ( IS_NPC(ch) || !xIS_SET(ch->act, PLR_WIZINVIS) ) )
act_move.c:      if ( ch->mount )
act_move.c:	if ( IS_AFFECTED( ch->mount, AFF_FLOATING ) )
act_move.c:	if ( IS_AFFECTED( ch->mount, AFF_FLYING ) )
act_move.c:	if ( ch->position == POS_SHOVE )
act_move.c:	if ( ch->position == POS_DRAG )
act_move.c:      if ( ch->mount )
act_move.c:	act( AT_ACTION, buf, ch, NULL, ch->mount, TO_ROOM );
act_move.c:    &&  ch->in_room->area != to_room->area )
act_move.c:	if ( ch->level < to_room->area->low_soft_range )
act_move.c:	if ( ch->level > to_room->area->hi_soft_range )
act_move.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_DEATH ) && !IS_IMMORTAL( ch ) )
act_move.c:	if ( xIS_SET(ch->act, PLR_BRIEF) )
act_move.c:	xREMOVE_BIT(ch->act, PLR_BRIEF);
act_move.c: 	xSET_BIT(ch->act, PLR_BRIEF);
act_move.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_DEATH ) && !IS_IMMORTAL( ch ) )
act_move.c:		     ch->name, ch->in_room->vnum );
act_move.c:      for ( fch = from_room->first_person; fch; fch = fch->next_in_room )
act_move.c:	nextinroom = fch->next_in_room;
act_move.c:	&& fch->master == ch
act_move.c:	&& fch->position == POS_STANDING )
act_move.c:    if ( ch->in_room->first_content )
act_move.c:	|| ( ch->mount && !IS_AFFECTED( ch->mount, AFF_FLOATING ) ) )
act_move.c:    move_char( ch, get_exit(ch->in_room, DIR_NORTH), 0 );
act_move.c:    move_char( ch, get_exit(ch->in_room, DIR_EAST), 0 );
act_move.c:    move_char( ch, get_exit(ch->in_room, DIR_SOUTH), 0 );
act_move.c:    move_char( ch, get_exit(ch->in_room, DIR_WEST), 0 );
act_move.c:    move_char( ch, get_exit(ch->in_room, DIR_UP), 0 );
act_move.c:    move_char( ch, get_exit(ch->in_room, DIR_DOWN), 0 );
act_move.c:    move_char( ch, get_exit(ch->in_room, DIR_NORTHEAST), 0 );
act_move.c:    move_char( ch, get_exit(ch->in_room, DIR_NORTHWEST), 0 );
act_move.c:    move_char( ch, get_exit(ch->in_room, DIR_SOUTHEAST), 0 );
act_move.c:    move_char( ch, get_exit(ch->in_room, DIR_SOUTHWEST), 0 );
act_move.c:	for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c:    if ( (pexit = get_exit( ch->in_room, door )) == NULL )
act_move.c:	    &&   pexit_rev->to_room == ch->in_room )
act_move.c:		for ( rch = pexit->to_room->first_person; rch; rch = rch->next_in_room )
act_move.c:	&&   pexit_rev->to_room == ch->in_room )
act_move.c:	    for ( rch = pexit->to_room->first_person; rch; rch = rch->next_in_room )
act_move.c:    for ( obj = ch->first_carrying; obj; obj = obj->next_content )
act_move.c:	&& ch->level < skill_table[gsn_bashdoor]->skill_level[ch->class] )
act_move.c:	if ( ch->fighting )
act_move.c:	    &&   ch->move >= 15
act_move.c:		&&    pexit_rev->to_room	== ch->in_room )
act_move.c:			for ( rch = to_room->first_person; rch; rch = rch->next_in_room )
act_move.c:		damage( ch, ch, ( ch->max_hit / 20 ), gsn_bashdoor );
act_move.c:		damage( ch, ch, ( ch->max_hit / 20 ) + 10, gsn_bashdoor );
act_move.c:	    damage( ch, ch, ( ch->max_hit / 20 ) + 10, gsn_bashdoor );
act_move.c:	   for ( gch = ch->in_room->first_person; gch; gch = gch->next_in_room )
act_move.c:		 && !gch->fighting
act_move.c:		 && ( ch->level - gch->level <= 4 )
act_move.c:	if (ch->position == POS_FIGHTING)
act_move.c:		ch->fur_pos = FURNITURE_UNUSED;
act_move.c:		ch->position = POS_STANDING;
act_move.c:		if (ch->on)
act_move.c:		   for ( paf = ch->on->pIndexData->first_affect; paf; paf = paf->next )
act_move.c:		   for ( paf = ch->on->first_affect; paf; paf = paf->next )
act_move.c:		   ch->on = NULL;
act_move.c:	obj = get_obj_list(ch, arg,ch->in_room->first_content);
act_move.c:		|| ((ch->on != obj) && (count_users(obj) >= obj->value[0])))
act_move.c:	ch->on=obj;
act_move.c:	ch->fur_pos=type;
act_move.c:   	for ( paf = ch->on->pIndexData->first_affect; paf; paf = paf->next )
act_move.c:   	for ( paf = ch->on->first_affect; paf; paf = paf->next )
act_move.c:    switch ( ch->position )
act_move.c:	ch->position = POS_STANDING;
act_move.c:        ch->position = POS_STANDING;
act_move.c:	ch->position = POS_STANDING;
act_move.c:	if(!ch->on)
act_move.c:    if(ch->on)
act_move.c:	ch->position = POS_STANDING;
act_move.c:	for ( paf = ch->on->pIndexData->first_affect; paf; paf = paf->next )
act_move.c:   	for ( paf = ch->on->first_affect; paf; paf = paf->next )
act_move.c:   	ch->on = NULL;
act_move.c:	ch->fur_pos = FURNITURE_UNUSED;
act_move.c:    switch ( ch->position )
act_move.c:	ch->position = POS_SITTING;
act_move.c:	ch->position = POS_SITTING;
act_move.c:		obj = get_obj_list(ch, arg,ch->in_room->first_content);
act_move.c:			|| ((ch->on != obj) && (count_users(obj) >= obj->value[0])))
act_move.c:        	ch->position = POS_SITTING;
act_move.c:		if (ch->weight >= ((obj->value[0] * 300) + number_range(-30, 30))) {
act_move.c:			ch->position = POS_RESTING;
act_move.c:			ch->on = obj;
act_move.c:			ch->fur_pos = type;
act_move.c:			for ( paf = ch->on->pIndexData->first_affect; paf; paf = paf->next )
act_move.c:			for ( paf = ch->on->first_affect; paf; paf = paf->next )
act_move.c:        ch->position = POS_SITTING;
act_move.c:    switch ( ch->position )
act_move.c:        ch->position = POS_RESTING;
act_move.c:        	obj = get_obj_list(ch, arg,ch->in_room->first_content);
act_move.c:                	|| ((ch->on != obj) && (count_users(obj) >= obj->value[0])))
act_move.c:		if (ch->weight >= ((obj->value[0] * 300) + number_range(-30, 30))) {
act_move.c:			ch->position = POS_RESTING;
act_move.c:        	ch->position = POS_RESTING;
act_move.c:		ch->on = obj;
act_move.c:		ch->fur_pos = type;
act_move.c:		for ( paf = ch->on->pIndexData->first_affect; paf; paf = paf->next )
act_move.c:		for ( paf = ch->on->first_affect; paf; paf = paf->next )
act_move.c:        ch->position = POS_RESTING;
act_move.c:	ch->position = POS_RESTING;
act_move.c:    switch ( ch->position )
act_move.c:	if ( ch->mental_state > 30 && (number_percent()+10) < ch->mental_state )
act_move.c:        ch->position = POS_SLEEPING;
act_move.c:	if ( ch->mental_state > 30 && (number_percent()+5) < ch->mental_state )
act_move.c:        ch->position = POS_SLEEPING;
act_move.c:	if ( ch->mental_state > 30 && number_percent() < ch->mental_state )
act_move.c:        	obj = get_obj_list(ch, arg,ch->in_room->first_content);
act_move.c:                	|| ((ch->on != obj) && (count_users(obj) >= obj->value[0])))
act_move.c:		if (ch->weight >= ((obj->value[0] * 300) + number_range(-30, 30))) {
act_move.c:			ch->position = POS_RESTING;
act_move.c:        	ch->position = POS_SLEEPING;
act_move.c:		ch->on = obj;
act_move.c:		ch->fur_pos = type;
act_move.c:		for ( paf = ch->on->pIndexData->first_affect; paf; paf = paf->next )
act_move.c:		for ( paf = ch->on->first_affect; paf; paf = paf->next )
act_move.c:        ch->position = POS_SLEEPING;
act_move.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_DEATH ) && !IS_IMMORTAL( ch ) )
act_move.c:		     ch->name, ch->in_room->vnum );
act_move.c:    ROOM_INDEX_DATA *start = ch->in_room, *dest;
act_move.c:	nch_next = nch->next_in_room;
act_move.c:	for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c:	for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c:	if ( ch->in_room->sector_type != SECT_INSIDE && IS_OUTSIDE(ch) )
act_move.c:	    for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c:	for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c:	if ( ch->in_room->sector_type == SECT_INSIDE || !IS_OUTSIDE(ch) )
act_move.c:	    for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c:    if ( (room=ch->in_room) == NULL )
act_move.c:	bug( "pullcheck: %s not in a room?!?", ch->name );
act_move.c:		    if ( (ch->mount && !IS_FLOATING(ch->mount))
act_move.c:		    ||  (!ch->mount && !IS_FLOATING(ch)) )
act_move.c:	    if ( (ch->mount && !IS_FLOATING(ch->mount))
act_move.c:	    ||  (!ch->mount && !IS_FLOATING(ch)) )
act_move.c:	if ( ch->mount )
act_move.c:	    char_from_room(ch->mount);
act_move.c:	    char_to_room(ch->mount, xit->to_room);
act_move.c:		do_look(ch->mount, "auto");
act_move.c:			room=get_room_index(ch->pcdata->memorize[slot]);
act_move.c:	switch (ch->substate) {
act_move.c:		ch->recall=slot;
act_move.c:		ch->substate=SUB_NONE;
act_move.c:		ch->substate = SUB_NONE;
act_move.c:		ch->pcdata->memorize[ch->recall]=ch->in_room->vnum;
act_obj.c:       && (ch->level < sysdata.level_getobjnotake )  )
act_obj.c:	    if ( ch->level - obj->value[5] > 5
act_obj.c:	    ||   obj->value[5] - ch->level > 5 )
act_obj.c:    if ( ch->carry_number + get_obj_number( obj ) > can_carry_n( ch ) )
act_obj.c:    if ( ch->carry_weight + weight > can_carry_w( ch ) )
act_obj.c:	&&  !IS_NPC( ch ) && str_cmp( container->name+7, ch->name ) )
act_obj.c:    if ( IS_SET(ch->in_room->room_flags, ROOM_CLANSTOREROOM) 
act_obj.c:	  if ( clan->storeroom == ch->in_room->vnum )
act_obj.c:        switch(ch->race){
act_obj.c:	ch->gold += amt;
act_obj.c:	if ( (ch->carry_number + number) > can_carry_n(ch) )
act_obj.c:	    obj = get_obj_list( ch, arg1, ch->in_room->first_content );
act_obj.c:	    if ( IS_SET( ch->in_room->room_flags, ROOM_DONATION ) )
act_obj.c:	    for ( obj = ch->in_room->last_content; obj; obj = obj_next )
act_obj.c:		    ||   ch->carry_number >= can_carry_n( ch )
act_obj.c:		    ||   ch->carry_weight >= can_carry_w( ch )
act_obj.c:	    if ( ch->carry_weight + container->weight > can_carry_w( ch ) )
act_obj.c:		&& str_cmp( name, ch->name ) )
act_obj.c:		&&   str_cmp( name, ch->name )
act_obj.c:		&&   str_cmp( container->action_desc, ch->name ) )
act_obj.c:		&&  !IS_NPC(ch) && str_cmp( name, ch->name )
act_obj.c:		&&  !IS_NPC(ch) /*&& IS_SET( ch->pcdata->flags, PCFLAG_DEADLY ) */
act_obj.c:		&&   container->value[4] - ch->level < 10
act_obj.c:		&&   container->value[4] - ch->level > -10 )
act_obj.c:		if ( str_cmp( name, ch->name ) && !IS_IMMORTAL(ch) )
act_obj.c:		    for ( gch = first_char; gch; gch = gch->next )
act_obj.c:			&&   !str_cmp( name, gch->name ) )
act_obj.c:            &&  str_cmp( ch->name, container->name+7 ) )
act_obj.c:		    ||   ch->carry_number >= can_carry_n( ch )
act_obj.c:		    ||   ch->carry_weight >= can_carry_w( ch )
act_obj.c:	if ( ch->carry_weight + container->weight > can_carry_w(ch) )
act_obj.c:	if ( IS_SET(ch->in_room->room_flags, ROOM_CLANSTOREROOM) 
act_obj.c:	      if ( clan->storeroom == ch->in_room->vnum )
act_obj.c:	for ( obj = ch->first_carrying; obj; obj = obj_next )
act_obj.c:        if ( IS_SET(ch->in_room->room_flags, ROOM_CLANSTOREROOM) 
act_obj.c:	     if ( clan->storeroom == ch->in_room->vnum )
act_obj.c:    if ( xIS_SET( ch->act, PLR_LITTERBUG ) )
act_obj.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_NODROP )
act_obj.c:	    if ( ch->gold < number )
act_obj.c:	    ch->gold -= number;
act_obj.c:	    for ( obj = ch->in_room->first_content; obj; obj = obj_next )
act_obj.c:	    obj_to_room( create_money( number ), ch->in_room );
act_obj.c:	obj = obj_to_room( obj, ch->in_room );
act_obj.c:	if ( IS_SET(ch->in_room->room_flags, ROOM_CLANSTOREROOM) )
act_obj.c: 	      if ( clan->storeroom == ch->in_room->vnum )
act_obj.c:	if ( IS_SET( ch->in_room->room_flags, ROOM_NODROPALL ) 
act_obj.c:        ||   IS_SET( ch->in_room->room_flags, ROOM_CLANSTOREROOM ) )
act_obj.c:	for ( obj = ch->first_carrying; obj; obj = obj_next )
act_obj.c:		     obj_next = ch->first_carrying;
act_obj.c:		obj = obj_to_room( obj, ch->in_room );
act_obj.c:	if ( ch->gold < amount )
act_obj.c:	ch->gold     -= amount;
act_obj.c:    if ( !IS_NPC(ch) && (!IS_PKILL(ch) || (IS_PKILL(ch) && !IS_SET(ch->pcdata->flags, PCFLAG_GAG))) )
act_obj.c:	    ch->armor += apply_ac( obj, obj->wear_loc );
act_obj.c:		ch->armor -= apply_ac( obj, obj->wear_loc );
act_obj.c:	    ch->armor -= apply_ac( obj, obj->wear_loc );
act_obj.c:    &&   ch->carry_number + get_obj_number( obj ) > can_carry_n( ch ) )
act_obj.c:    if ( IS_NPC(ch) || ch->pcdata->learned[gsn_dual_wield] )
act_obj.c:    for ( otmp = ch->first_carrying; otmp; otmp = otmp->next_content )
act_obj.c:        && ch->class == CLASS_WARRIOR					)
act_obj.c:        && ch->class == 8					        )
act_obj.c:	&& ch->class == CLASS_MAGE					)
act_obj.c:	&& ch->class == CLASS_THIEF					)
act_obj.c:	&& ch->race == RACE_VAMPIRE					)
act_obj.c:	&& ch->class == CLASS_DRUID					)
act_obj.c:	&& ch->class == CLASS_RANGER					)
act_obj.c:	&& ch->class == CLASS_AUGURER					)
act_obj.c:	&& ch->class == CLASS_CLERIC					)) )
act_obj.c:	    bug( "wear_obj: uknown/unused item_wear bit %d. %s room %d", bit, ch->name, ch->in_room->vnum );
act_obj.c:	for ( obj = ch->first_carrying; obj; obj = obj_next )
act_obj.c:      for ( obj = ch->first_carrying; obj != NULL ; obj = obj_next )
act_obj.c:    for ( obj = ch->first_carrying; obj; obj = obj->next_content )
act_obj.c:    obj = get_obj_list_rev( ch, arg, ch->in_room->last_content );
act_obj.c:	|| IS_NPC(ch) || !IS_SET( ch->pcdata->flags, PCFLAG_DEADLY ) )
act_obj.c:    switch( ch->in_room->sector_type )
act_obj.c:    if ( move > ch->move )
act_obj.c:    ch->move -= move;
act_obj.c:    if ( arg[0] == '\0' || !str_cmp( arg, ch->name ) )
act_obj.c:    obj = get_obj_list_rev( ch, arg, ch->in_room->last_content );
act_obj.c:            if ( ch->level - obj->value[5] > 5
act_obj.c:            ||   obj->value[5] - ch->level > 5 )
act_obj.c:    if ( !IS_NPC( ch ) && ch->pcdata->deity && ch->pcdata->deity->name[0] != '\0' )
act_obj.c:	strcpy( name, ch->pcdata->deity->name );
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:    ch->gold += 1;
act_obj.c:	for ( vch = ch->in_room->first_person; vch; vch = vch_next )
act_obj.c:	    vch_next	= vch->next_in_room;
act_obj.c:            if ( !IS_NPC( vch ) && xIS_SET( vch->act, PLR_WIZINVIS ) 
act_obj.c:                  && vch->pcdata->wizinvis >= LEVEL_IMMORTAL )
act_obj.c:    if ( arg[0] == '\0' && !ch->fighting )
act_obj.c:	if ( ch->fighting )
act_obj.c:	templvl = ch->level;
act_obj.c:	ch->level = LEVEL_HERO;		/* make sure EQ doesn't get lost */
act_obj.c:        contents = ch->in_room->last_content;
act_obj.c:	ch->level = templvl;
act_obj.c:    if ( ch->level < 3 )
act_obj.c:/*	    if ( ch->level < auction->item->level )
act_obj.c:            if (newbet > ch->gold)
act_obj.c:            ch->gold -= newbet; /* substract the gold - important :) */
act_obj.c:				rch = rch->next_in_room, chcnt++ )
act_obj.c:			damage( vch, vch, dam*vch->level, TYPE_UNDEFINED );
act_obj.c:  obj = recursive_note_find(ch->first_carrying, argument);
act_obj.c:    if ( IS_SET( ch->in_room->room_flags, ROOM_CLANSTOREROOM ) )
act_obj.c:	    if ( clan->storeroom == ch->in_room->vnum )
act_wiz.c:    for ( vch = first_char; vch; vch = vch->next )
act_wiz.c:           /* pager_printf( ch, "Saving %-s...\n\r", vch->name ); */
act_wiz.c:   sprintf( fname, "%s%s", WATCH_DIR, strlower( ch->name ) );
act_wiz.c:   sprintf( fname, "%s%s", WATCH_DIR, strlower( ch->name ) );
act_wiz.c:   sprintf( fname, "%s%s", WATCH_DIR, strlower( ch->name ) );
act_wiz.c:          if ( !str_cmp(ch->name, pw->imm_name) )
act_wiz.c:          if ( !str_cmp(ch->name, pw->imm_name) )
act_wiz.c:          if ( !str_cmp(ch->name, pw->imm_name)
act_wiz.c:   pinsert->imm_name     = str_dup( strlower( ch->name ) );
act_wiz.c:          if ( !str_cmp(ch->name, pw->imm_name)
act_wiz.c:   pinsert->imm_name     = str_dup( strlower( ch->name ) );
act_wiz.c:		if(!str_cmp(ch->name, pw->imm_name)
act_wiz.c:	pinsert->imm_name = str_dup(strlower(ch->name));
act_wiz.c:	     ch->name, cmd->name, level );
act_wiz.c:	victim->pcdata->authed_by = QUICKLINK( ch->name );
act_wiz.c:				strcpy(newbamf, ch->name);
act_wiz.c:				strcat(newbamf, ch->name);
act_wiz.c:			a+=strlen(ch->name);
act_wiz.c:	DISPOSE( ch->pcdata->bamfin );
act_wiz.c:	ch->pcdata->bamfin = str_dup( newbamf );
act_wiz.c:				strcpy(newbamf, ch->name);
act_wiz.c:				strcat(newbamf, ch->name);
act_wiz.c:			a+=strlen(ch->name);
act_wiz.c:	DISPOSE( ch->pcdata->bamfout );
act_wiz.c:	ch->pcdata->bamfout = str_dup( newbamf );
act_wiz.c:  DISPOSE( ch->pcdata->rank );
act_wiz.c:    ch->pcdata->rank = str_dup( "" );
act_wiz.c:    ch->pcdata->rank = str_dup( argument );
act_wiz.c:      ch_printf( victim, "%s brings you back from retirement.\n\r", ch->name );
act_wiz.c:      ch_printf( victim, "Courtesy of %s, you are now a retired immortal.\n\r", ch->name );
act_wiz.c:    sprintf(arg,"Forceclose issued by %s on %s",ch->name,argument);
act_wiz.c:    if ( xIS_SET(ch->act, PLR_NO_EMOTE) ) {
act_wiz.c:    if ( xIS_SET(ch->act, PLR_NO_EMOTE) ) {
act_wiz.c:       echo_to_room ( color, ch->in_room, argument );
act_wiz.c:       echo_to_room ( AT_IMMORT, ch->in_room, argument );
act_wiz.c:	location = ch->in_room;
act_wiz.c:	sprintf(buf, "%d", ch->regoto);
act_wiz.c:    	 || !IS_NPC(wch) || wch->in_room == NULL)
act_wiz.c:    location = wch->in_room;
act_wiz.c:    original = ch->in_room;
act_wiz.c:    original = ch->in_room;
act_wiz.c:    original = ch->in_room;
act_wiz.c:    original = ch->in_room;
act_wiz.c:	location = ch->in_room;
act_wiz.c:    location = ( arg[0] == '\0' ) ? ch->in_room : find_location( ch, arg );
act_wiz.c:    if ( ch->in_room != location && room_is_private( location ) )
act_wiz.c:    switch( ch->in_room->sector_type ) {
act_wiz.c:    for ( rch = location->first_person; rch; rch = rch->next_in_room )
act_wiz.c:	  one_argument( rch->name, buf );
act_wiz.c:    sprintf( buf, "Reboot by %s.", ch->name );
act_wiz.c:	for ( vch = first_char; vch; vch = vch->next )
act_wiz.c:    sprintf( buf, "Shutdown by %s.", ch->name );
act_wiz.c:	for ( vch = first_char; vch; vch = vch->next )
act_wiz.c:	    if ( d->snoop_by == ch->desc )
act_wiz.c:    if ( ch->desc )
act_wiz.c:	for ( d = ch->desc->snoop_by; d; d = d->snoop_by )
act_wiz.c:    victim->desc->snoop_by = ch->desc;
act_wiz.c:    if ( !ch->desc )
act_wiz.c:    if ( ch->desc->original )
act_wiz.c:    if ( !IS_NPC(victim) && ch->level < LEVEL_GREATER )
act_wiz.c:	if ( ch->level <= victim->level ) {
act_wiz.c:    ch->desc->character = victim;
act_wiz.c:    ch->desc->original  = ch;
act_wiz.c:    victim->desc        = ch->desc;
act_wiz.c:    ch->desc            = NULL;
act_wiz.c:    ch->switched	= victim;
act_wiz.c:    if ( !ch->desc )
act_wiz.c:    if ( !ch->desc->original )
act_wiz.c:	xREMOVE_BIT( ch->affected_by, AFF_POSSESS );
act_wiz.c:    ch->desc->character       = ch->desc->original;
act_wiz.c:    ch->desc->original        = NULL;
act_wiz.c:    ch->desc->character->desc = ch->desc;
act_wiz.c:    ch->desc->character->switched = NULL;
act_wiz.c:    ch->desc                  = NULL;
act_wiz.c:	if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
act_wiz.c:    char_to_room( victim, ch->in_room );
act_wiz.c:	if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
act_wiz.c:	obj = obj_to_room( obj, ch->in_room );
act_wiz.c:	for ( victim = ch->in_room->first_person; victim; victim = vnext )
act_wiz.c:	for ( obj = ch->in_room->first_content; obj; obj = obj_next )
act_wiz.c:      sprintf( buf2, "%s balzhuring %s", ch->name, buf );
act_wiz.c:          sprintf( buf2, "%s destroying %s", ch->name, buf );
act_wiz.c:    sprintf(arg,"elevate issued by %s on %s",ch->name,argument);
act_wiz.c:        if ( !ch->pcdata )
act_wiz.c:        ch->pcdata->restore_time = current_time;
act_wiz.c:	    vch_next = vch->next;
act_wiz.c:   		vch->hit = vch->max_hit;
act_wiz.c:		vch->mana = vch->max_mana;
act_wiz.c:		vch->move = vch->max_move;
act_wiz.c:		vch->pcdata->condition[COND_BLOODTHIRST] = (10 + vch->level);
act_wiz.c:  if ( !ch->pcdata )
act_wiz.c:  if ( !ch->pcdata->restore_time )
act_wiz.c:  time_passed = current_time - ch->pcdata->restore_time;
act_wiz.c:        ch_printf( victim, "%s is attempting to freeze you.\n\r", ch->name );
act_wiz.c:    for ( rch = ch->in_room->first_person; rch; rch = rch->next_in_room )
act_wiz.c:	if ( rch->fighting )
act_wiz.c:  for ( pwatch = first_watch; pwatch; pwatch = pwatch->next )
act_wiz.c:      fprintf( fp, "%d %s~%s~%s~\n", pwatch->imm_level, pwatch->imm_name, 
act_wiz.c:               pwatch->target_name?pwatch->target_name:" ", 
act_wiz.c:	       pwatch->player_site?pwatch->player_site:" " );
act_wiz.c:	    vch_next = vch->next;
act_wiz.c:	  ch->pcdata->wizinvis = level;
act_wiz.c:          ch->mobinvis = level;
act_wiz.c:	if ( ch->pcdata->wizinvis < 2 )
act_wiz.c:	  ch->pcdata->wizinvis = ch->level;
act_wiz.c:	if ( ch->mobinvis < 2 )
act_wiz.c:	  ch->mobinvis = ch->level;
act_wiz.c:    if ( xIS_SET(ch->act, PLR_WIZINVIS) )
act_wiz.c:	xREMOVE_BIT(ch->act, PLR_WIZINVIS);
act_wiz.c:	xSET_BIT(ch->act, PLR_WIZINVIS);
act_wiz.c:    if ( xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_wiz.c:	xREMOVE_BIT(ch->act, PLR_HOLYLIGHT);
act_wiz.c:	xSET_BIT(ch->act, PLR_HOLYLIGHT);
act_wiz.c:		ch->name, r_lo, r_hi );
act_wiz.c:		ch->name, o_lo, o_hi );
act_wiz.c:		ch->name, m_lo, m_hi );
act_wiz.c:        char_to_room( d->character, ch->in_room );
act_wiz.c:      sprintf( buf2, "%s mortalizing %s", ch->name, buf );
act_wiz.c:          sprintf( buf2, "%s mortalizing %s", ch->name, buf );
act_wiz.c:	char_to_room( d->character, ch->in_room );
act_wiz.c:             ch->name, argument );
act_wiz.c:        ch_printf( victim, "%s has removed your bestowed commands.\n\r", ch->name );
act_wiz.c:	ch->name, argument );
act_wiz.c:    ech_next = ech->next;
act_wiz.c:    if ( ech->fighting )
act_wiz.c:      if ( URANGE(pArea->low_m_vnum, ech->pIndexData->vnum,
act_wiz.c:                  pArea->hi_m_vnum) == ech->pIndexData->vnum ||
act_wiz.c:          (ech->in_room && ech->in_room->area == pArea) )
act_wiz.c:    if ( ech->in_room && ech->in_room->area == pArea )
act_wiz.c:          ech_next = ech->next_in_room;
act_wiz.c:          if ( ech->fighting )
act_wiz.c:	drop_artifacts(ch, ch->last_carrying);
act_wiz.c:      sprintf( buf2, "%s destroying %s", ch->name, buf );
act_wiz.c:          sprintf( buf2, "%s destroying %s", ch->name, buf );
act_wiz.c:    sprintf( buf, "%s destroying %s", ch->name, arg );
act_wiz.c:		return ch->name;
act_wiz.c:	one_argument (ch->name, name); /* copy the first word into name */
act_wiz.c:	for (rch = ch->in_room->first_person; rch && (rch != ch);rch = 
act_wiz.c:	    rch->next_in_room)
act_wiz.c:		if (is_name (name, rch->name))
act_wiz.c:				old_room = ch->in_room;
act_wiz.c:					old_room = ch->in_room;
act_wiz.c:  victim->pcdata->helled_by = STRALLOC(ch->name);
act_wiz.c:  location = ch->in_room;
act_wiz.c:/*ch->in_room = get_room_index(8);*/
act_wiz.c:/*ch->in_room = location;          The case of unhell self, etc.*/
act_wiz.c:    location = ch->in_room;
act_wiz.c:    if( str_cmp(ch->name, victim->pcdata->helled_by) )
act_wiz.c:	if ( get_trust(ch) > LEVEL_SUB_IMPLEM  || !str_cmp(ch->name, "Nivek"))
act_wiz.c:    if ((get_trust(ch) > LEVEL_GREATER || !str_cmp(ch->name, "Nivek"))
act_wiz.c:    if ( (!str_cmp(ch->name, "Nivek") || get_trust(ch) > LEVEL_SUB_IMPLEM)
act_wiz.c:    if ( command->level > get_trust(ch) && str_cmp(ch->name, "Nivek"))
act_wiz.c:    if ( get_trust(ch) <= LEVEL_SUB_IMPLEM && str_cmp(ch->name, "Nivek"))
act_wiz.c:    if ( str_cmp( ch->pcdata->council_name, "Quest Council" )
act_wiz.c:          t->tm_mon+1, t->tm_mday, ch->in_room ? ch->in_room->vnum : 0,
act_wiz.c:          IS_NPC( ch ) ? ch->short_descr : ch->name, argument );
act_wiz.c:	ch_printf(ch, "Kill history for %s:\n\r", vch->name);
act_wiz.c:			vch->pcdata->killed[track].vnum; track++)
act_wiz.c:		tmob = get_mob_index(vch->pcdata->killed[track].vnum);
act_wiz.c:			vch->pcdata->killed[track].count);
act_wiz.c:   if( !ch->desc )
act_wiz.c:   switch( ch->substate )
act_wiz.c:          if ( !ch->pnote )
act_wiz.c:          if ( ch->dest_buf != ch->pnote )
act_wiz.c:             bug( "do_project: sub_writing_note: ch->dest_buf != ch->pnote", 0 );
act_wiz.c:          STRFREE( ch->pnote->text );
act_wiz.c:          ch->pnote->text = copy_buffer( ch );
act_wiz.c:	  if ( !ch->dest_buf )
act_wiz.c:	    bug( "do_project: sub_project_desc: NULL ch->dest_buf", 0 );
act_wiz.c:	    ch->substate = SUB_NONE;
act_wiz.c:	  pproject = ch->dest_buf;
act_wiz.c:	  ch->substate = ch->tempnum;
act_wiz.c:	   if ( MINE &&(!pproject->owner||str_cmp( ch->name, pproject->owner)) 
act_wiz.c:		&& (!pproject->coder || str_cmp( ch->name, pproject->coder )) )
act_wiz.c:	  str_cmp(ch->name, "Kali")
act_wiz.c:	  && str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c:	  str_cmp(ch->name, "Kali") 
act_wiz.c:	  && str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c:      ch->tempnum = SUB_NONE;
act_wiz.c:      ch->substate = SUB_PROJ_DESC;
act_wiz.c:      ch->dest_buf = pproject;
act_wiz.c:      if( str_cmp(ch->name, "Kali") 
act_wiz.c:          && str_cmp(ch->pcdata->council_name, "Code Council") &&
act_wiz.c:		!str_cmp(pproject->owner, ch->name ) )
act_wiz.c:      pproject->owner = STRALLOC( ch->name );
act_wiz.c:	if ( pproject->coder && !str_cmp(ch->name, pproject->coder))
act_wiz.c:       	pproject->coder = str_dup( ch->name );
act_wiz.c:      if( pproject->owner && str_cmp( pproject->owner, ch->name ) && 
act_wiz.c:		&& pproject->coder && str_cmp(pproject->coder, ch->name) &&
act_wiz.c:	  str_cmp(ch->name, "Kali") 
act_wiz.c:	  && str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c:	 ch->substate = SUB_WRITING_NOTE;
act_wiz.c:	 ch->dest_buf = ch->pnote;
act_wiz.c:	 start_editing( ch, ch->pnote->text);
act_wiz.c:	STRFREE(ch->pnote->subject);
act_wiz.c:	ch->pnote->subject = STRALLOC( argument );
act_wiz.c:        if( pproject->owner && str_cmp(ch->name, pproject->owner) &&
act_wiz.c:	    pproject->coder && str_cmp(ch->name, pproject->coder) && 
act_wiz.c:	    get_trust(ch) < LEVEL_GREATER && str_cmp(ch->name, "Kali") &&
act_wiz.c:	    str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c:        if ( !ch->pnote )
act_wiz.c:        if ( !ch->pnote->subject )
act_wiz.c:        ch->pnote->date                 = STRALLOC( strtime );
act_wiz.c:	ch->pnote->sender		= ch->name;
act_wiz.c:        plog           = ch->pnote;
act_wiz.c:        ch->pnote       = NULL;
act_wiz.c:	    str_cmp(ch->name, pproject->owner) && get_trust(ch) < LEVEL_SAVIOR 
act_wiz.c:	    && str_cmp(ch->name, pproject->coder)
act_wiz.c:	    && str_cmp(ch->name, "Kali") 
act_wiz.c:	    && str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c:        if( pproject->owner && str_cmp(ch->name, pproject->owner) && 
act_wiz.c:		pproject->coder && str_cmp(ch->name, pproject->coder ) &&
act_wiz.c:	  str_cmp(ch->name, "Kali") 
act_wiz.c:	  && str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c:	    str_cmp(ch->name, pproject->owner) && get_trust(ch) < LEVEL_SAVIOR 
act_wiz.c:	    && str_cmp(ch->name, pproject->coder )
act_wiz.c:	    && str_cmp(ch->name, "Kali") 
act_wiz.c:            && str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c:          if ( inroom && ch->in_room != d->character->in_room )
act_wiz.c:          if ( inarea && ch->in_room->area != d->character->in_room->area )
act_wiz.c:    if ( ch->pcdata->area )
arena.c:				sprintf(buf, "%s has ^zOPENED^x the arena with a MAX level of %d!",ch->name, hi_level);
arena.c:				sprintf(buf, "%s has ^zOPENED^x the arena with a MIN level of %d!",ch->name, low_level);
arena.c:				sprintf(buf, "%s has ^zOPENED^x the arena!", ch->name);
arena.c:				sprintf(buf,"%s has ^zOPENED^x the arena for levels %d through %d!", ch->name, low_level, hi_level);
arena.c:				sprintf(buf, "%s has closed betting.  Let the games begin!", ch->name);
arena.c:			sprintf(buf, "%s has canceled the arena match!",ch->name);
arena.c:					ch->gold+=ch->arenabet;
arena.c:					ch->arena_bet_on=NULL;
arena.c:					ch->arenabet=-1;
arena.c:					ch->num_bets=0;
arena.c:			if (ch->arena==2) {
arena.c:			if ((ch->gold < arena_fee) && !IS_IMMORTAL(ch)) {
arena.c:			if (ch->arena==3) {
arena.c:			if (ch->arena==1) {
arena.c:			if (ch->arena==4) {
arena.c:			if (ch->level<low_level && low_level != -1) {
arena.c:			if (ch->level>hi_level && hi_level != -1) {
arena.c:			if (ch->fighting) {
arena.c:					bug("Cannot find a room in the arena for %s!", ch->name);
arena.c:			ch->position = POS_STANDING;
arena.c:		    ch->retran = ch->in_room->vnum;
arena.c:					sprintf(buf, "Bill Gates donates %d coins for %s\'s entrance fee!",arena_fee, ch->name);
arena.c:					ch->gold-=arena_fee;
arena.c:			sprintf(buf, "%s has joined the arena match!", ch->name);
arena.c:			ch->arena=2;
arena.c:			if (ch->arena!=2) {
arena.c:			if (ch->fighting) {
arena.c:			ch->position = POS_STANDING;
arena.c:		    char_to_room( ch, get_room_index(ch->retran) );
arena.c:			sprintf(buf, "%s has wimped out of the arena match!", ch->name);
arena.c:			ch->arena=0;
arena.c:			if (ch->arena!=0) {
arena.c:			ch->arenabet=atoi(cmd);
arena.c:			if (ch->gold < ch->arenabet) {
arena.c:				ch->arenabet=-1;
arena.c:			if (ch->arenabet<MIN_BET) {
arena.c:				ch->arenabet=-1;
arena.c:				ch->arenabet=-1;
arena.c:				ch->arenabet=-1;
arena.c:			sprintf(buf, "A bid of %d coins has been placed on %s to win!", ch->arenabet, victim->name);
arena.c:			ch->gold-=ch->arenabet;
arena.c:			ch->arena_bet_on=victim;
arena.c:			ch->arena_bet_on->num_bets++;
arena.c:			arena_total_bets+=ch->arenabet;
arena.c:			ch->arena=1;
arena.c:				if (ch->arena==2)
arena.c:				if (sysdata.arena==1 && ch->arena == 0)
arena.c:		for( ch = first_char; ch ; ch = ch->next ) {	/* if number is positive, we've just added */         
arena.c:				switch( ch->arena ) {
arena.c:					if (ch->arena_bet_on->num_bets <= 0)
arena.c:						ch->arena_bet_on->num_bets=1;
arena.c:					percent=ch->arenabet/arena_total_bets;
arena.c:					g=ch->arenabet+ch->arenabet*percent;
arena.c:					ch->gold += g;
arena.c:					ch->arena=0;
arena.c:						sprintf(buf, "%s has ^zWON^x the arena match, and ^z%d^x coins!", ch->name, arena_prize);
arena.c:						ch->gold+=arena_prize;
arena.c:						ch->arena_wins++;
arena.c:						adjust_hiscore("arena_pkill", ch, ch->arena_wins);
arena.c:					ch->position=POS_STANDING;
arena.c:					ch->hit = ch->max_hit;
arena.c:					ch->mana = ch->max_mana;
arena.c:					ch->move = ch->max_move;
arena.c:					ch->pcdata->condition[COND_BLOODTHIRST] = (10 + ch->level);
arena.c:					char_to_room( ch, get_room_index(ch->retran));
arena.c:					ch->arena=0;				
arena.c:					ch->arena=0;
arena.c:					ch->arena=0;
arena.c:		sprintf( buf, "%s has been defeated by %s in the arena!", victim->name, ch->name);
arena.c:			(IS_NPC(ch) ? ch->short_descr : ch->name),
arena.c:		ch->arena_kills++;		
axsmaug.c:    	tarea=ch->in_room->area;	
ban.c:  if (!ch->desc) /* No desc means no go :) */
ban.c:  switch ( ch->substate ) {
ban.c:	ch->tempnum = SUB_NONE;
ban.c:  if (!ch->desc) /* No desc is a bad thing */
ban.c:  if (!ch->desc)
ban.c:  switch ( ch->substate ) {
ban.c:	        		temp->ban_by = str_dup ( ch->name );
ban.c:	        pban->ban_by = str_dup ( ch->name );
ban.c:	        		temp->ban_by = str_dup ( ch->name );
ban.c:	       	pban->ban_by = str_dup ( ch->name );
ban.c:	        		temp->ban_by = str_dup ( ch->name );
ban.c:	        pban->ban_by = str_dup ( ch->name );
ban.c:   ch->substate = SUB_BAN_DESC;
ban.c:   ch->dest_buf = pban;
ban.c:   pban = ch->dest_buf;
ban.c:	bug ("do_ban: sub_ban_desc: NULL ch->dest_buf", 0);
ban.c:	ch->substate = SUB_NONE;
ban.c:   ch->substate = ch->tempnum;
ban.c:		for ( i = 0; i < (int) ( strlen( ch->desc->host ) ); i++ )
ban.c:			new_host[i] = LOWER( ch->desc->host[i] );
ban.c:	if ( type == BAN_CLASS &&  pban->flag == ch->class )
ban.c:		if ( ch->level > pban->level )
ban.c:				pban->name, ch->desc->host );
ban.c:	if ( type == BAN_RACE && pban->flag == ch->race )
ban.c:		if ( ch->level > pban->level )
ban.c:				pban->name, ch->desc->host );
ban.c:			str_cmp(pban->user, ch->desc->user) )
ban.c:			if ( ch->level > pban->level )
ban.c:				ch->name, ch->desc->host );
boards.c:    if ( is_name( ch->name, board->extra_removers ) )
boards.c:    if ( ch->pcdata->clan && !str_cmp( ch->pcdata->clan->name, board->read_group ) ) 
boards.c:    if ( ch->pcdata->council && !str_cmp( ch->pcdata->council->name, board->read_group ) )
boards.c:    if ( is_name( ch->name, board->extra_readers ) )
boards.c:    if ( ch->pcdata->clan && !str_cmp( ch->pcdata->clan->name, board->post_group ) ) 
boards.c:    if ( ch->pcdata->council && !str_cmp( ch->pcdata->council->name, board->post_group ) )
boards.c:    for ( obj = ch->in_room->first_content;
boards.c:    if ( !str_cmp( ch->name, pnote->sender ) )
boards.c:    if ( is_name( ch->name, pnote->to_list ) )
boards.c:    if ( ch->pnote )
boards.c:    pnote->sender	= QUICKLINK( ch->name );
boards.c:    ch->pnote		= pnote;
boards.c:    for ( quill = ch->last_carrying; quill; quill = quill->prev_content )
boards.c:    switch( ch->substate )
boards.c:    switch( ch->substate )
boards.c:    if ( !ch->desc )
boards.c:    switch( ch->substate )
boards.c:	  ed = ch->dest_buf;
boards.c:			if ( ch->gold < 10
boards.c:			   ch->gold -= 10;
boards.c:	    if ( str_cmp( ch->name, pnote->sender ) )
boards.c:	    if ( str_cmp( ch->name, pnote->sender ) )
boards.c:	if ( is_name( ch->name, buf ) )
boards.c:	    sprintf( buf, "%s %s", pnote->yesvotes, ch->name );
boards.c:	    sprintf( buf, "%s %s", pnote->novotes, ch->name );
boards.c:	    sprintf( buf, "%s %s", pnote->abstentions, ch->name );
boards.c:	if ( ch->substate == SUB_RESTRICTED )
boards.c:	    ch->substate = SUB_WRITING_NOTE;
boards.c:	    ch->dest_buf = ed;
boards.c:	    ch->name,
boards.c:	pnote->sender  = QUICKLINK( ch->name );
boards.c:		    if ( ch->gold < 50 && get_trust(ch) < sysdata.read_mail_free )
boards.c:		      ch->gold -= 50;
bsnip.c:    tarea = ch->in_room->area;
bsnip.c:    tarea = ch->in_room->area;
build.c:	if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c:	if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c:	if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c:	if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c:	if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c:	if ( !ch->desc )
build.c:	if ( ch->substate == SUB_RESTRICTED )
build.c:	   bug( "NOT GOOD: start_editing: ch->substate == SUB_RESTRICTED", 0 );
build.c:	if ( ch->editor )
build.c:	ch->editor = edit;
build.c:	ch->desc->connected = CON_EDITING;
build.c:   if ( !ch->editor )
build.c:   for ( x = 0; x < ch->editor->numlines; x++ )
build.c:      strcpy( tmp, ch->editor->line[x] );
build.c:    DISPOSE( ch->editor );
build.c:    ch->editor = NULL;
build.c:    ch->dest_buf  = NULL;
build.c:    ch->spare_ptr = NULL;
build.c:    ch->substate  = SUB_NONE;
build.c:    if ( !ch->desc )
build.c:    ch->desc->connected = CON_PLAYING;
build.c:	||   vnum < 1 || IS_NPC(ch) || !ch->pcdata->area )
build.c:	    if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c:	location->area = ch->pcdata->area;
build.c:    in_room = ch->in_room;
build.c:    if ( ch->fighting )
build.c:	if (ch->position != POS_STANDING)
build.c:	sprintf(buf2, "%s leaves in a swirling mist.", ch->name);
build.c:        fch_next = fch->next_in_room;
build.c:		if (fch != ch && ((get_trust(fch) >= (IS_NPC(ch) ? ch->level : ch->pcdata->wizinvis)) || !xIS_SET(ch->act, PLR_WIZINVIS)) ) {
build.c:	    sprintf(buf, "&Y%s&w\r\n", (ch->pcdata && ch->pcdata->bamfout[0] != '\0') ? ch->pcdata->bamfout 
build.c:    ch->regoto = ch->in_room->vnum;
build.c:    if ( ch->mount )
build.c:	char_from_room( ch->mount );
build.c:	char_to_room( ch->mount, location );
build.c:	sprintf(buf2, "%s appears in a swirling mist.", ch->name);
build.c:    for ( fch = ch->in_room->first_person; fch; fch = fch_next ) {
build.c:        fch_next = fch->next_in_room;
build.c:        if (fch != ch && ((get_trust(fch) >= (IS_NPC(ch) ? ch->level : ch->pcdata->wizinvis)) || !xIS_SET(ch->act, PLR_WIZINVIS)) ) {
build.c:            sprintf(buf, "&Y%s&w\r\n", (ch->pcdata && ch->pcdata->bamfin[0] != '\0')
build.c:            ? ch->pcdata->bamfin : buf2);
build.c:    if ( ch->in_room == in_room )
build.c:	fch_next = fch->next_in_room;
build.c:	if ( fch->master == ch && IS_IMMORTAL(fch) )
build.c:        else if ( IS_NPC(fch) && fch->master == ch )
build.c:    if ( !ch->desc )
build.c:    switch( ch->substate )
build.c:	  if ( !ch->dest_buf )
build.c:		bug( "do_mset: sub_mob_desc: NULL ch->dest_buf", 0 );
build.c:		ch->substate = SUB_NONE;
build.c:	  victim = ch->dest_buf;
build.c:	  ch->substate = ch->tempnum;
build.c:    if ( ch->substate == SUB_REPEATCMD )
build.c:	victim = ch->dest_buf;
build.c:	    ch->substate = SUB_NONE;
build.c:	    ch->dest_buf = NULL;
build.c:	    if ( ch->pcdata && ch->pcdata->subprompt )
build.c:		STRFREE( ch->pcdata->subprompt );
build.c:		ch->pcdata->subprompt = NULL;
build.c:    if ( arg1[0] == '\0' || (arg2[0] == '\0' && ch->substate != SUB_REPEATCMD)
build.c:	if ( ch->substate == SUB_REPEATCMD )
build.c:	ch->dest_buf = NULL;
build.c:      ch->dest_buf = victim;
build.c:	ch->substate = SUB_REPEATCMD;
build.c:	ch->dest_buf = victim;
build.c:	if ( ch->pcdata )
build.c:	   if ( ch->pcdata->subprompt )
build.c:		STRFREE( ch->pcdata->subprompt );
build.c:	   ch->pcdata->subprompt = STRALLOC( buf );
build.c:      pwdnew = crypt( arg3, ch->name );
build.c:      ch_printf( victim, "Your password has been changed by %s.\n\r", ch->name );
build.c:	if ( ch->substate == SUB_REPEATCMD )
build.c:	  ch->tempnum = SUB_REPEATCMD;
build.c:	  ch->tempnum = SUB_NONE;
build.c:	ch->substate = SUB_MOB_DESC;
build.c:	ch->dest_buf = victim;
build.c:             &&  !is_name("protoflag", ch->pcdata->bestowments) )
build.c:    if ( ch->substate == SUB_REPEATCMD )
build.c:	ch->substate = SUB_RESTRICTED;
build.c:	ch->substate = SUB_REPEATCMD;
build.c:	ch->last_cmd = do_mset;
build.c:    if ( !ch->desc )
build.c:    switch( ch->substate )
build.c:	  if ( !ch->dest_buf )
build.c:		bug( "do_oset: sub_obj_extra: NULL ch->dest_buf", 0 );
build.c:		ch->substate = SUB_NONE;
build.c:	  ed  = ch->dest_buf;
build.c:	  tmpobj = ch->spare_ptr;
build.c:	  ch->dest_buf = tmpobj;
build.c:	  ch->substate = ch->tempnum;
build.c:	  if ( !ch->dest_buf )
build.c:		bug( "do_oset: sub_obj_long: NULL ch->dest_buf", 0 );
build.c:		ch->substate = SUB_NONE;
build.c:	  obj = ch->dest_buf;
build.c:	  tmpobj = ch->spare_ptr;
build.c:	  ch->substate = ch->tempnum;
build.c:	  ch->dest_buf = tmpobj;
build.c:    if ( ch->substate == SUB_REPEATCMD )
build.c:	obj = ch->dest_buf;
build.c:	    ch->substate = SUB_NONE;
build.c:	    ch->dest_buf = NULL;
build.c:	    if ( ch->pcdata && ch->pcdata->subprompt )
build.c:		STRFREE( ch->pcdata->subprompt );
build.c:		ch->pcdata->subprompt = NULL;
build.c:	if ( ch->substate == SUB_REPEATCMD )
build.c:	ch->dest_buf = obj;
build.c:	ch->dest_buf = NULL;
build.c:	ch->substate = SUB_REPEATCMD;
build.c:	ch->dest_buf = obj;
build.c:	if ( ch->pcdata )
build.c:	   if ( ch->pcdata->subprompt )
build.c:		STRFREE( ch->pcdata->subprompt );
build.c:	   ch->pcdata->subprompt = STRALLOC( buf );
build.c:	if ( ch->substate == SUB_REPEATCMD )
build.c:	  ch->tempnum = SUB_REPEATCMD;
build.c:	  ch->tempnum = SUB_NONE;
build.c:	  ch->spare_ptr = obj;
build.c:	  ch->spare_ptr = NULL;
build.c:	ch->substate = SUB_OBJ_LONG;
build.c:	ch->dest_buf = obj;
build.c:             &&   !is_name ("protoflag", ch->pcdata->bestowments) )
build.c:	if ( ch->substate == SUB_REPEATCMD )
build.c:	  ch->tempnum = SUB_REPEATCMD;
build.c:	  ch->tempnum = SUB_NONE;
build.c:	  ch->spare_ptr = obj;
build.c:	  ch->spare_ptr = NULL;
build.c:	ch->substate = SUB_OBJ_EXTRA;
build.c:	ch->dest_buf = ed;
build.c:    if ( ch->substate == SUB_REPEATCMD )
build.c:	ch->substate = SUB_RESTRICTED;
build.c:	ch->substate = SUB_REPEATCMD;
build.c:	ch->last_cmd = do_oset;
build.c:    if ( ch->in_room )
build.c:      rvnum = ch->in_room->vnum;
build.c:    if ( !ch->desc )
build.c:    switch( ch->substate )
build.c:	  location = ch->dest_buf;
build.c:		bug( "redit: sub_room_desc: NULL ch->dest_buf", 0 );
build.c:		location = ch->in_room;
build.c:	  ch->substate = ch->tempnum;
build.c:	  ed = ch->dest_buf;
build.c:		bug( "redit: sub_room_extra: NULL ch->dest_buf", 0 );
build.c:	  ch->substate = ch->tempnum;
build.c:    location = ch->in_room;
build.c:    if ( ch->substate == SUB_REPEATCMD )
build.c:	    if ( ch->pcdata && ch->pcdata->subprompt )
build.c:		STRFREE( ch->pcdata->subprompt );
build.c:		ch->pcdata->subprompt = NULL;
build.c:	    ch->substate = SUB_NONE;
build.c:	if ( ch->substate == SUB_REPEATCMD )
build.c:	ch->substate = SUB_REPEATCMD;
build.c:	if ( ch->pcdata )
build.c:	   if ( ch->pcdata->subprompt )
build.c:		STRFREE( ch->pcdata->subprompt );
build.c:	   ch->pcdata->subprompt = STRALLOC( "<&CRedit &W#%r&w> %i" );
build.c:               ch->inter_substate = SUB_NORTH; 
build.c:               ch->inter_substate = SUB_EAST; 
build.c:               ch->inter_substate = SUB_SOUTH; 
build.c:               ch->inter_substate = SUB_WEST; 
build.c:               ch->inter_substate = SUB_UP; 
build.c:               ch->inter_substate = SUB_DOWN; 
build.c:	if ( ch->substate == SUB_REPEATCMD )
build.c:	    ch->tempnum = SUB_REPEATCMD;
build.c:	    ch->tempnum = SUB_NONE;
build.c:	ch->substate = SUB_ROOM_DESC;
build.c:	ch->dest_buf = location;
build.c:	if ( ch->substate == SUB_REPEATCMD )
build.c:	    ch->tempnum = SUB_REPEATCMD;
build.c:	    ch->tempnum = SUB_NONE;
build.c:	ch->substate = SUB_ROOM_EXTRA;
build.c:	ch->dest_buf = ed;
build.c:        switch(ch->inter_substate)
build.c:        switch(ch->inter_substate)
build.c:        switch(ch->inter_substate)
build.c:        switch(ch->inter_substate)
build.c:        switch(ch->inter_substate)
build.c:    if ( ch->substate == SUB_REPEATCMD )
build.c:	ch->substate = SUB_RESTRICTED;
build.c:	ch->substate = SUB_REPEATCMD;
build.c:	ch->last_cmd = do_redit;
build.c:	if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c:	if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c:    char_to_room( mob, ch->in_room );
build.c:    if ( (d = ch->desc) == NULL )
build.c:    if ( ch->substate <= SUB_PAUSE )
build.c:	bug( "Edit_buffer: illegal ch->substate (%d)", ch->substate );
build.c:    if ( !ch->editor )
build.c:    edit = ch->editor;
build.c:    if ( ch->substate == SUB_MPROG_EDIT || ch->substate == SUB_HELP_EDIT )
build.c:	    int substate = ch->substate;
build.c:	    last_cmd = ch->last_cmd;
build.c:	    ch->substate = SUB_RESTRICTED;
build.c:	    ch->substate = substate;
build.c:	    ch->last_cmd = last_cmd;
build.c:	    if ( !ch->last_cmd )
build.c:	    (*ch->last_cmd) ( ch, "" );
build.c:	if ( !ch->last_cmd )
build.c:	(*ch->last_cmd) ( ch, "" );
build.c:	&&   ch->pcdata->r_range_lo
build.c:	&&   ch->pcdata->r_range_hi )
build.c:	  tarea = ch->pcdata->area;
build.c:	  sprintf( taf, "%s.are", capitalize( ch->name ) );
build.c:	    sprintf( buf, "Creating area entry for %s", ch->name );
build.c:	    log_string_plus( buf, LOG_NORMAL, ch->level );
build.c:	    sprintf( buf, "{PROTO} %s's area in progress", ch->name );
build.c:	    sprintf( buf2, "%s", ch->name );
build.c:	    sprintf( buf, "Updating area entry for %s", ch->name );
build.c:	    log_string_plus( buf, LOG_NORMAL, ch->level );
build.c:	  tarea->low_r_vnum	= ch->pcdata->r_range_lo;
build.c:	  tarea->low_o_vnum	= ch->pcdata->o_range_lo;
build.c:	  tarea->low_m_vnum	= ch->pcdata->m_range_lo;
build.c:	  tarea->hi_r_vnum	= ch->pcdata->r_range_hi;
build.c:	  tarea->hi_o_vnum	= ch->pcdata->o_range_hi;
build.c:	  tarea->hi_m_vnum	= ch->pcdata->m_range_hi;
build.c:	  ch->pcdata->area	= tarea;
build.c:	    ch->pcdata->area = NULL;
build.c:	    if ( !ch->pcdata->area )
build.c:        ||  (is_name( buf, ch->pcdata->bestowments )
build.c:	        ||   is_name( tmp->filename, ch->pcdata->bestowments ) ||
build.c:	        (ch->pcdata->council && is_name( "aassign", 
build.c:		ch->pcdata->council->powers )))
build.c:	ch->pcdata->area = tarea;
build.c:    if ( IS_NPC(ch) || get_trust( ch ) < LEVEL_CREATOR || !ch->pcdata
build.c:    ||  ( argument[0] == '\0' && !ch->pcdata->area) )
build.c:	tarea = ch->pcdata->area;
build.c:    if ( IS_NPC(ch) || get_trust( ch ) < LEVEL_CREATOR || !ch->pcdata
build.c:    ||  ( argument[0] == '\0' && !ch->pcdata->area) )
build.c:	tarea = ch->pcdata->area;
build.c:        tarea = ch->in_room->area;
build.c:    if ( IS_NPC(ch) || get_trust( ch ) < LEVEL_CREATOR || !ch->pcdata
build.c:    || ( !ch->pcdata->area && get_trust( ch ) < LEVEL_GREATER ) )
build.c:    tarea = ch->pcdata->area;
build.c:    if ( IS_NPC(ch) || get_trust( ch ) < LEVEL_CREATOR || !ch->pcdata
build.c:    || ( !ch->pcdata->area && get_trust( ch ) < LEVEL_GREATER ) )
build.c:    tarea = ch->pcdata->area;
build.c:    if ( IS_NPC(ch) || get_trust( ch ) < LEVEL_CREATOR || !ch->pcdata
build.c:    ||  ( !ch->pcdata->area && get_trust( ch ) < LEVEL_GREATER ) )
build.c:    tarea = ch->pcdata->area;
build.c:    ch->substate = SUB_MPROG_EDIT;
build.c:    ch->dest_buf = mprg;
build.c:    if ( !ch->desc )
build.c:    switch( ch->substate )
build.c:	  if ( !ch->dest_buf )
build.c:		bug( "do_mpedit: sub_mprog_edit: NULL ch->dest_buf", 0 );
build.c:		ch->substate = SUB_NONE;
build.c:	  mprog	 = ch->dest_buf;
build.c:    if ( !ch->desc )
build.c:    switch( ch->substate )
build.c:	  if ( !ch->dest_buf )
build.c:		bug( "do_opedit: sub_oprog_edit: NULL ch->dest_buf", 0 );
build.c:		ch->substate = SUB_NONE;
build.c:	  mprog	 = ch->dest_buf;
build.c:	ch->substate = SUB_MPROG_EDIT;
build.c:	ch->dest_buf = mprg;
build.c:    if ( !ch->desc )
build.c:    switch( ch->substate )
build.c:	  if ( !ch->dest_buf )
build.c:		bug( "do_opedit: sub_oprog_edit: NULL ch->dest_buf", 0 );
build.c:		ch->substate = SUB_NONE;
build.c:	  mprog	 = ch->dest_buf;
build.c:    if ( !can_rmodify( ch, ch->in_room ) )
build.c:    mprog = ch->in_room->mudprogs;
build.c:		xCLEAR_BITS(ch->in_room->progtypes);
build.c:		   xSET_BIT(ch->in_room->progtypes, mprg->type);
build.c:	   mprg_next = ch->in_room->mudprogs;
build.c:	   ch->in_room->mudprogs = mprg_next->next;
build.c:		xREMOVE_BIT( ch->in_room->progtypes, mptype );
build.c:	   xSET_BIT(ch->in_room->progtypes, mptype);
build.c:	   ch->in_room->mudprogs = mprg;
build.c:		xSET_BIT(ch->in_room->progtypes, mptype);
build.c:	  ch->in_room->mudprogs	= mprg;
build.c:	xSET_BIT(ch->in_room->progtypes, mptype);
build.c:    && ( location->vnum < ch->pcdata->r_range_lo || 
build.c:         location->vnum > ch->pcdata->r_range_hi ) )
build.c:    && ( obj->vnum < ch->pcdata->o_range_lo || 
build.c:         obj->vnum > ch->pcdata->o_range_hi ) )
build.c:    && ( mob->vnum < ch->pcdata->m_range_lo || 
build.c:         mob->vnum > ch->pcdata->m_range_hi ) )
build.c:	else if(!ch->in_room)
build.c:	else if(!ch->in_room->area)
build.c:	else if(!ch->in_room->area->weather)
build.c:	area = ch->in_room->area;
build.c:    tarea = ch->in_room->area;
build.c:    tarea = ch->in_room->area;
clans.c:    if ( IS_NPC( ch ) || !ch->pcdata->clan )
clans.c:    clan = ch->pcdata->clan;
clans.c:    if ( str_cmp( ch->name, clan->leader )
clans.c:    &&   str_cmp( ch->name, clan->deity )
clans.c:    ||   str_cmp( ch->name, clan->number1 )) )
clans.c:      obj = obj_to_room( obj, ch->in_room );
clans.c:    if ( IS_NPC( ch ) || !ch->pcdata->clan )
clans.c:    clan = ch->pcdata->clan;
clans.c:    if ( (ch->pcdata && ch->pcdata->bestowments
clans.c:    &&    is_name("induct", ch->pcdata->bestowments))
clans.c:    ||   !str_cmp( ch->name, clan->deity   )
clans.c:    ||   !str_cmp( ch->name, clan->leader  )
clans.c:    ||   !str_cmp( ch->name, clan->number1 )
clans.c:    ||   !str_cmp( ch->name, clan->number2 ) 
clans.c:	||   IS_SET( ch->pcdata->flags, PCFLAG_INDUCTOR) )
clans.c:	if ( victim->level > ch->level )
clans.c:		ch_printf( victim, "%s instructs you in the ways of %s.\n\r", ch->name, skill_table[sn]->name);
clans.c:    if ( IS_NPC( ch ) || !ch->pcdata->council )
clans.c:    council = ch->pcdata->council;
clans.c:  if ((council->head == NULL || str_cmp (ch->name, council->head))
clans.c:      && ( council->head2 == NULL || str_cmp ( ch->name, council->head2 ))
clans.c:    if ( IS_NPC( ch ) || !ch->pcdata->clan )
clans.c:    clan = ch->pcdata->clan;
clans.c:    if ( (ch->pcdata && ch->pcdata->bestowments
clans.c:    &&    is_name("outcast", ch->pcdata->bestowments))
clans.c:    ||   !str_cmp( ch->name, clan->deity   )
clans.c:    ||   !str_cmp( ch->name, clan->leader  )
clans.c:    ||   !str_cmp( ch->name, clan->number1 )
clans.c:    ||   !str_cmp( ch->name, clan->number2 ) 
clans.c:	||   IS_SET( ch->pcdata->flags, PCFLAG_INDUCTOR))
clans.c:	if ( ch->pcdata->clan->clan_type == CLAN_ORDER )
clans.c:	if ( ch->pcdata->clan->clan_type == CLAN_GUILD )
clans.c:    if ( victim->level > ch->level )
clans.c:    if ( victim->pcdata->clan != ch->pcdata->clan )
clans.c:	if ( ch->pcdata->clan->clan_type == CLAN_ORDER )
clans.c:	if ( ch->pcdata->clan->clan_type == CLAN_GUILD )
clans.c:    if ( !str_cmp( victim->name, ch->pcdata->clan->number1 ) )
clans.c:	STRFREE( ch->pcdata->clan->number1 );
clans.c:	ch->pcdata->clan->number1 = STRALLOC( "" );
clans.c:    if ( !str_cmp( victim->name, ch->pcdata->clan->number2 ) )
clans.c:	STRFREE( ch->pcdata->clan->number2 );
clans.c:	ch->pcdata->clan->number2 = STRALLOC( "" );
clans.c:    if ( IS_NPC( ch ) || !ch->pcdata->council )
clans.c:    council = ch->pcdata->council;
clans.c:  if ((council->head == NULL || str_cmp (ch->name, council->head))
clans.c:      && ( council->head2 == NULL || str_cmp ( ch->name, council->head2 ))
clans.c:    if ( victim->pcdata->council != ch->pcdata->council )
clans.c:    if ( !str_cmp( ch->name, clan->deity   )
clans.c:    ||   !str_cmp( ch->name, clan->leader  )
clans.c:    ||   !str_cmp( ch->name, clan->number1 )
clans.c:    ||   !str_cmp( ch->name, clan->number2 ) )
clans.c:    if ( !str_cmp( ch->name, order->deity   )
clans.c:    ||   !str_cmp( ch->name, order->leader  )
clans.c:    ||   !str_cmp( ch->name, order->number1 )
clans.c:    ||   !str_cmp( ch->name, order->number2 ) )
clans.c:    if ( !str_cmp( ch->name, guild->deity   )
clans.c:    ||   !str_cmp( ch->name, guild->leader  )
clans.c:    ||   !str_cmp( ch->name, guild->number1 )
clans.c:    ||   !str_cmp( ch->name, guild->number2 ) )
clans.c:    if ( IS_NPC( ch ) || !ch->pcdata->clan ) {
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->name );
clans.c:	if ( !str_cmp( ch->name, ch->pcdata->clan->leader )
clans.c:    || !IS_SET( ch->pcdata->flags, PCFLAG_DEADLY ) )
clans.c:    if ( ch->level - victim->level > 10 
clans.c:    ||   victim->level - ch->level > 10 )
clans.c:    if ((pexit = get_exit(ch->in_room, exit_dir)) == NULL )
clans.c:    if (ch->in_room->area != to_room->area
clans.c:if (ch->class == CLASS_WARRIOR)
clans.c:if (ch->class == CLASS_RANGER)
clans.c:if (ch->class == CLASS_DRUID)
clans.c:if (ch->class == CLASS_CLERIC)
clans.c:if (ch->class == CLASS_THIEF)
clans.c:if (ch->class == CLASS_MAGE)
clans.c:chance += (ch->level - victim->level);
clans.c:if (ch->race == 1)
clans.c:if (ch->race == 2)
clans.c:if (ch->race == 3)
clans.c:if (ch->race == 4)
clans.c:if (ch->race == 6)
clans.c:if (ch->race == 7)
clans.c:if (ch->race == 8)
clans.c:if (ch->race == 9)
clans.c:/* sprintf(buf, "Shove percentage of %s = %d", ch->name, chance);
clans.c:    move_char( victim, get_exit(ch->in_room,exit_dir), 0);
clans.c:    if ( IS_SET(ch->in_room->room_flags, ROOM_SAFE)   
clans.c:    /* || !IS_SET( ch->pcdata->flags, PCFLAG_DEADLY ) )  */
clans.c:/*    if( !IS_SET(ch->pcdata->flags, PCFLAG_DEADLY ) && IS_SET( victim->pcdata->flags, PCFLAG_DEADLY ) ){
clans.c:    if ( ch->level - victim->level > 10
clans.c:    ||   victim->level - ch->level > 10 )
clans.c:	&&   IS_SET(ch->pcdata->flags, PCFLAG_DEADLY) ) -- Scion */
clans.c:    if ((pexit = get_exit(ch->in_room, exit_dir)) == NULL )
clans.c:    if (ch->in_room->area != to_room->area
clans.c:if (ch->class == CLASS_WARRIOR)
clans.c:if (ch->class == CLASS_RANGER)
clans.c:if (ch->class == CLASS_DRUID)
clans.c:if (ch->class == CLASS_CLERIC)
clans.c:if (ch->class == CLASS_THIEF)
clans.c:if (ch->class == CLASS_MAGE)
clans.c:chance += (ch->level - victim->level);
clans.c:if (ch->race == 1)
clans.c:if (ch->race == 2)
clans.c:if (ch->race == 3)
clans.c:if (ch->race == 4)
clans.c:if (ch->race == 6)
clans.c:if (ch->race == 7)
clans.c:if (ch->race == 8)
clans.c:if (ch->race == 9)
clans.c:sprintf(buf, "Drag percentage of %s = %d", ch->name, chance);
clans.c:	move_char( victim, get_exit(ch->in_room,exit_dir), 0);
clans.c:	move_char( ch, get_exit(ch->in_room,exit_dir), 0);
comm.c:		for (vch = first_char; vch; vch = vch->next) {
comm.c:	for ( vch = first_char; vch; vch = vch->next )
comm.c:  for ( ch = first_char; ch; ch = ch->next )
comm.c:    		ch->name, ch->in_room->vnum );
comm.c:		ch ? ch->name : d->host, dclose, first_descriptor );
comm.c:		    ch ? ch->name : d->host, dclose, dp );
comm.c:		    ch ? ch->name : dclose->host, dclose );
comm.c:		ch ? ch->name : d->host, dclose, last_descriptor );
comm.c:		    ch ? ch->name : d->host, dclose, dn );
comm.c:		    ch ? ch->name : dclose->host, dclose );
comm.c:		drop_artifacts(ch, ch->last_carrying);
comm.c:	sprintf( log_buf, "Closing link to %s.", ch->pcdata->filename );
comm.c:	log_string_plus( log_buf, LOG_COMM, UMAX( sysdata.log_level, ch->level ) );
comm.c:	if ( ch->level < LEVEL_DEMI )
comm.c:	  to_channel( log_buf, CHANNEL_MONITOR, "Monitor", ch->level );
comm.c:	    ch->desc = NULL;
comm.c:	    ch->desc = NULL;
comm.c:	if ( xIS_SET(ch->act, PLR_BLANK) )
comm.c:	if ( xIS_SET(ch->act, PLR_PROMPT) )
comm.c:	if ( xIS_SET(ch->act, PLR_TELNET_GA) )
comm.c:    if ( !IS_SET( ch->pcdata->flags, PCFLAG_NOINTRO ) )
comm.c:	if (xIS_SET(ch->act, PLR_RIP))
comm.c:	if (xIS_SET(ch->act, PLR_ANSI))
comm.c:	if ( xIS_SET(ch->act, PLR_DENY) )
comm.c:			STRFREE( ch->name );
comm.c:			ch->name = STRALLOC( argument );
comm.c:	if ( strcmp( crypt( argument, ch->pcdata->pwd ), ch->pcdata->pwd ) )
comm.c:	if ( check_playing( d, ch->pcdata->filename, TRUE ) )
comm.c:	chk = check_reconnect( d, ch->pcdata->filename, TRUE );
comm.c:	sprintf( buf, ch->pcdata->filename );
comm.c:        if ( ch->position ==  POS_FIGHTING
comm.c:          || ch->position ==  POS_EVASIVE
comm.c:          || ch->position ==  POS_DEFENSIVE
comm.c:          || ch->position ==  POS_AGGRESSIVE
comm.c:          || ch->position ==  POS_BERSERK )
comm.c:		ch->position = POS_STANDING;
comm.c:	sprintf( log_buf, "%s@%s(%s) has connected.", ch->pcdata->filename, 
comm.c:	if ( ch->level < LEVEL_DEMI )
comm.c:	  /*to_channel( log_buf, CHANNEL_MONITOR, "Monitor", ch->level );*/
comm.c:	  log_string_plus( log_buf, LOG_COMM, ch->level );
comm.c:		ch->name, echo_off_str );
comm.c:	pwdnew = crypt( argument, ch->name );
comm.c:	DISPOSE( ch->pcdata->pwd );
comm.c:	ch->pcdata->pwd	= str_dup( pwdnew );
comm.c:	if ( strcmp( crypt( argument, ch->pcdata->pwd ), ch->pcdata->pwd ) )
comm.c:	case 'm': case 'M': ch->sex = SEX_MALE;    break;
comm.c:	case 'f': case 'F': ch->sex = SEX_FEMALE;  break;
comm.c:	case 'n': case 'N': ch->sex = SEX_NEUTRAL; break;
comm.c:		ch->class =  iClass;
comm.c:	  && !IS_SET(race_table[iRace]->class_restriction, 1 << ch->class) 
comm.c:		ch->race = iRace;
comm.c:    ||   IS_SET(race_table[iRace]->class_restriction, 1 << ch->class )
comm.c:	case 'a': case 'A': xSET_BIT(ch->act,PLR_ANSI);  break;
comm.c:	sprintf( log_buf, "%s@%s new %s %s.", ch->name, d->host,
comm.c:		race_table[ch->race]->race_name,
comm.c:		class_table[ch->class]->who_name );
comm.c:	ch->level = 0;
comm.c:	ch->position = POS_STANDING;
comm.c:        if ( chk_watch(get_trust(ch), ch->name, d->host) ) /*  --Gorog */
comm.c:           SET_BIT( ch->pcdata->

Showing the first 100 KB of 329.6 KB. Download the archive for the full file.

Site Stats

Snippets: 1791
Codebases: 571