COMM

rm6/src/COMM · 428.2 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:      && (!str_cmp( och->pcdata->council_name, "Newbie Council" )
act_comm.c:      ||  !str_cmp( och->pcdata->council2_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:	 && vch->pcdata->council2 != ch->pcdata->council ))
act_comm.c:	if (( vch->pcdata->council != ch->pcdata->council2
act_comm.c:	&& vch->pcdata->council2 != ch->pcdata->council2 ))
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:                        || xIS_SET( ch->act, PLR_HOLYLIGHT ) )
act_comm.c:        sprintf(buf, "Profanity by %s: %s", ch->name, argument);
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://    sprintf( logbuf, "&G%s&w %sed&W: &G%s", ch->name, verb, argument );
act_comm.c:                if( xIS_SET( ch->act, PLR_WIZINVIS ) )
act_comm.c:                        local_cfields[i].history[x][0] = str_dup( ch->short_descr );
act_comm.c:                        local_cfields[i].history[x][0] = str_dup( ch->name );
act_comm.c:                        local_cfields[i].history[x][0] = str_dup( ch->short_descr );
act_comm.c:                        local_cfields[i].history[x][0] = str_dup( 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:		|| !( och->pcdata->council2 && !str_cmp( och->pcdata->council2_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 && vch->pcdata->council == ch->pcdata->council)
act_comm.c:	    ||	   (vch->pcdata->council2 && vch->pcdata->council2 == ch->pcdata->council) ) ) )
act_comm.c:            ||    !( (vch->pcdata->council && vch->pcdata->council == ch->pcdata->council2)
act_comm.c:            ||     (vch->pcdata->council2 && vch->pcdata->council2 == ch->pcdata->council2) ) ) )      
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->council2 )
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:        if (found==TRUE && !str_cmp(argbuf, vch->name)) {
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:	if(found && str_cmp(argbuf, vch->name) && ch != NULL && tmp != NULL){
act_comm.c:	else if(found && !str_cmp(argbuf, vch->name) && ch!=NULL && tmp!=NULL)
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:            if( ch->pcdata->say_history[x] == NULL )
act_comm.c:            sprintf( buffer, " &c%s&w\n\r", ch->pcdata->say_history[x] );
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:                if( vch->pcdata->say_history[x] == '\0' )
act_comm.c:                    vch->pcdata->say_history[x] = strdup( tmpbuf );
act_comm.c:                        DISPOSE( vch->pcdata->say_history[i-1] );
act_comm.c:                        vch->pcdata->say_history[i-1] = strdup( vch->pcdata->say_history[i] );
act_comm.c:                    DISPOSE( vch->pcdata->say_history[x] );
act_comm.c:                    vch->pcdata->say_history[x] = strdup( tmpbuf );
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->speaking & lang_array[lang] )
act_comm.c:              && victim->in_room != ch->in_room )
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->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->pcdata->tell_histories[x] == NULL )
act_comm.c:                ch->pcdata->tell_histories[x] = str_dup( arg );
act_comm.c:                    DISPOSE( ch->pcdata->tell_histories[i-1] );
act_comm.c:                    ch->pcdata->tell_histories[i-1] = str_dup(ch->pcdata->tell_histories[i]);
act_comm.c:                ch->pcdata->tell_histories[x] = str_dup( arg );
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:            if( ch->pcdata->tell_histories[x] == NULL )
act_comm.c:            sprintf(buf+strlen(buf), "%s\n\r", ch->pcdata->tell_histories[x] );
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:            capitalize(IS_NPC(ch) ? ch->short_descr : ch->name),
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:            capitalize(IS_NPC(ch) ? ch->short_descr : ch->name),
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 && ch->level2 == -1 )
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))
act_comm.c:                             gch->level,
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:			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:    if ( ch->silver < amount )
act_comm.c:    if ( ch->copper < 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:		ch->silver -= amount;
act_comm.c:		ch->silver += share + extra;
act_comm.c:		ch->copper -= amount;
act_comm.c:		ch->copper += share + extra;
act_comm.c:    for ( gch = ch->in_room->first_person; gch; gch = gch->next_in_room )
act_comm.c:	    if (type == 0) gch->gold += share;
act_comm.c:	    if (type == 1) gch->silver += share;
act_comm.c:	    if (type == 2) gch->copper += 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_in_room )
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_comm.c:    if ( ch->level < 10 && ch->level2 == -1 )
act_comm.c:    sprintf( save, "%s%c/%s", PLAYER_DIR, tolower( ch->pcdata->filename[0]), capitalize( ch->pcdata->filename ) );
act_comm.c:    sprintf( back, "%s%c/%s", BACKUP_DIR, tolower( ch->pcdata->filename[0]), capitalize( ch->pcdata->filename ) );
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(victim) &&ch->questmob > 0 && victim->pIndexData->vnum == ch->questmob)
act_info.c:    if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_info.c:    if ( IS_NPC(victim) && ch->mount && ch->mount == victim
act_info.c:         && ch->in_room == ch->mount->in_room )
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:        else if (ch->position == POS_MOUNTED)
act_info.c:        if (ch->position == POS_SITTING)
act_info.c:        else 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:        STRFREE( ch->in_room->name );
act_info.c:        DISPOSE( ch->in_room->description );
act_info.c:    else if (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:        switch( ch->in_room->sector_type )
act_info.c:        troom = ch->in_room;
act_info.c:        if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_HOLYLIGHT) )
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:            showRoom( ch, ch->in_room );
act_info.c:            if( !ch->in_room->compress )
act_info.c:                ch_printf( ch, "%s", ch->in_room->description );
act_info.c:            else if (xIS_SET(ch->act, PLR_HOLYLIGHT))
act_info.c:                decompressRoom( ch->in_room );
act_info.c:                ch_printf( ch, "&z&WCompressed&w -\n\r%s", ch->in_room->uncomp_desc );
act_info.c:		DISPOSE( ch->in_room->uncomp_desc );
act_info.c:		decompressRoom( ch->in_room );
act_info.c:		ch_printf( ch, "%s", ch->in_room->uncomp_desc );
act_info.c:                DISPOSE( ch->in_room->uncomp_desc );
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:	    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:   // if ( xIS_SET( ch->act, PLR_AUTOMAP))
act_info.c:         prep_map(ch->in_room, min,max);
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:            if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_info.c:        else if( !IS_NPC( ch ) && IS_SET( ch->in_room->area->flags, AFLAG_EXIT_NAMES )
act_info.c:                 && !xIS_SET(ch->act, PLR_BRIEF) )
act_info.c:    else if ( fAuto && !xIS_SET( ch->act, PLR_HOLYLIGHT ) && !showmap)
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:		  wch->pcdata->extraname,
act_info.c:		  wch->pcdata->lastname,
act_info.c:          wch->pcdata->title,
act_info.c:          (wch->desc && wch->desc->connected) ? " &Y[&WWRITING&Y]&G " : "",
act_info.c:          xIS_SET(wch->act, PLR_AFK) ? " &Y[&WAWAY&Y]&G " : "",
act_info.c:          xIS_SET(wch->act, PLR_ATTACKER) ? " &R(&W^zATTACKER^x&R)&G " : "",
act_info.c:          xIS_SET(wch->act, PLR_KILLER) ? " &R(&W^zKILLER^x&R)&G " : "",
act_info.c:          xIS_SET(wch->act, PLR_THIEF)  ? " &R(&W^zTHIEF^x&R)&G "  : ""
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:        || ( fClassRestrict && !rgfClass[wch->class2] )
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:	&& ( fCouncilMatch && ( pCouncil != wch->pcdata->council2 )))/*RTD*/
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:        if( wch->level2 == -1 )
act_info.c:            sprintf( class_text, "%3d %3.3s", wch->level,
act_info.c:                     !str_cmp( class_table[wch->class]->who_name, "Assassin" )
act_info.c:                     ? "Asn" : class_table[wch->class]->who_name );
act_info.c:                     wch->level,
act_info.c:                     !str_cmp( class_table[wch->class]->who_name, "Assassin" )
act_info.c:                     ? "Asn" : class_table[wch->class]->who_name,
act_info.c:                     wch->level2,
act_info.c:                     !str_cmp( class_table[wch->class2]->who_name, "Assassin" )
act_info.c:                     ? "Asn" : class_table[wch->class2]->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) && (!ch 
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:                else if ( !str_cmp( wch->name, pclan->leader ) )
act_info.c:                else if ( !str_cmp( wch->name, pclan->number1 ) )
act_info.c:                else 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:                else if ( !str_cmp( wch->name, pclan->leader ) )
act_info.c:                else if ( !str_cmp( wch->name, pclan->number1 ) )
act_info.c:                else 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:                 wch->pcdata->council->head2[0] == '\0' )
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 ( wch->pcdata->council2 )
act_info.c:            if ( wch->pcdata->council2->head2 == NULL ||
act_info.c:                 wch->pcdata->council2->head2[0] == '\0' )
act_info.c:                if (!str_cmp (wch->name, wch->pcdata->council2->head))
act_info.c:                if (!str_cmp (wch->name, wch->pcdata->council2->head)
act_info.c:                    || !str_cmp ( wch->name, wch->pcdata->council2->head2) )
act_info.c:            strcat( council2_name, wch->pcdata->council2_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:                if( dcheck->character && wch->desc
act_info.c:                && dcheck->host == wch->desc->host )
act_info.c:                     IS_SET( wch->pcdata->flags, PCFLAG_DEADLY ) ? "&WP" : "-",
act_info.c:                     (wch->fighting ? "&gF&W" : "-"),
act_info.c:                     (wch->position == POS_INCAP) ? "&bI&W" : "-",
act_info.c:                     (wch->pcdata->extraname ? wch->pcdata->extraname : ""),
act_info.c:                     (wch->pcdata->lastname ? wch->pcdata->lastname : "" ),
act_info.c:                     (wch->pcdata->afkmsg)  ? wch->pcdata->afkmsg : wch->pcdata->title,
act_info.c:                     (wch->bounty > 0)                   ? " &W(&RBOUNTY&W)&w "       : "",
act_info.c:                     xIS_SET(wch->act, PLR_MARRIED)      ? " &Y[&WWED&Y]&w "          : "",
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:                     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->afkmsg)  ? wch->pcdata->afkmsg : wch->pcdata->title,
act_info.c:                     (wch->bounty > 0)                   ? " &W(&RBOUNTY&W)&w "       : "",
act_info.c:                     xIS_SET(wch->act, PLR_MARRIED)      ? " &Y[&WWED&Y]&w "          : "",
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->level2 == -1 )
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->level < skill_table[sn]->skill_level[ch->class]
act_info.c:                &&   ch->level < skill_table[sn]->skill_level[ch->class2] )
act_info.c:                || (!IS_IMMORTAL(ch) && (skill_table[sn]->skill_level[ch->class] == 0
act_info.c:                && skill_table[sn]->skill_level[ch->class2] == 0)))
act_info.c:	    if ( ch->pcdata->learned[sn] <= 0
act_info.c:	    if ( ch->pcdata->learned[sn] == 0)
act_info.c:            else if ( ch->pcdata->learned[sn] > 0
act_info.c:            && (ch->pcdata->learned[sn] < skill_table[sn]->skill_adept[ch->class]
act_info.c:            || ch->pcdata->learned[sn] < skill_table[sn]->skill_adept[ch->class2]))
act_info.c:            else if ( ch->pcdata->learned[sn] > 0)
act_info.c:	    if ( ch->pcdata->learned[sn] > 0 )
act_info.c:            pager_printf( ch, " &W%3d%%&w ", 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:        if( ch->level2 == -1 )
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->level < skill_table[sn]->skill_level[ch->class]
act_info.c:            &&  ch->level < skill_table[sn]->skill_level[ch->class2])
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_IMMORTAL(ch) || ( ch->pcdata->council2
act_info.c:	&&   !str_cmp( ch->pcdata->council2->name, "Newbie Council" ) ) )
act_info.c:            ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_NEWBIE2) ?
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:        if ( !IS_NPC( ch ) && ch->pcdata->council2)
act_info.c:          ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_COUNCIL2)?
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:        if( ch->pcdata->afkmsg )
act_info.c:            STRFREE( ch->pcdata->afkmsg );
act_info.c:            ch->pcdata->afkmsg = NULL;
act_info.c:        xSET_BIT(ch->act, PLR_AFK);
act_info.c:            ch->pcdata->afkmsg = STRALLOC( buf );
act_info.c:if (ch->class==CLASS_WARRIOR)
act_info.c:          if(ch->pcdata->learned[sn] < 1 ||
act_info.c:      if(ch->level>=skill->skill_level[ch->class]  )
act_info.c:            if(ch->pcdata->condition[COND_BLOODTHIRST] >= BLOOD)
act_info.c:          if(ch->mana >= MANA)
act_info.c:      ch_printf(ch, "%s, '%s' doesn't use %s points.\n\r", ch->name, skill->name, IS_VAMPIRE(ch)?"blood":"mana");
act_info.c: if(ch->pcdata->learned[sn] < 1)
act_info.c:         if (  ch->level < skill->skill_level[ch->class]  )
act_info.c:   classnum      = ch->class;
act_info.c:		   if ( ch->pcdata->learned[sn] <= 0
act_info.c:			   && (!charclass || ch->level2 == -1 
act_info.c:			   || i != skill_table[sn]->skill_level[ch->class2]
act_info.c:			   || i >= ch->level2))
act_info.c:			   temp = ch->class2;
act_info.c:			   ch->pcdata->learned[sn],
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_info.c:        xSET_BIT( ch->act, PLR_NEEDHELP );
act_info.c:        sprintf( buf, "%s is requesting help: %s", ch->name, argument );
act_info.c:        ch->pcdata->help_message = str_dup( argument );
act_info.c:        ch->pcdata->killed[track].vnum; track++)
act_info.c:        tmob = get_mob_index(ch->pcdata->killed[track].vnum);
act_info.c:                  ch->pcdata->killed[track].count);
act_info.c:        fprintf(fp, "%s hit a DT in room %d.\n", ch->name, ch->in_room->vnum);
act_info.c:            if( (!IS_NPC(ch)) && (ch->race>0) && (ch->race<MAX_RACE))
act_info.c:            fprintf(fp, "     %s", race_table[ch->race]->where_name[iWear]);
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:    && ch->in_room->area != to_room->area )
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:        ||  ch->level < skill_table[gsn_bashdoor]->skill_level[ch->class2]) )
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:	switch (ch->substate)
act_move.c:                                sprintf( vnum, "(%d)", ch->pcdata->memorize[slot]);
act_move.c:				room = get_room_index(ch->pcdata->memorize[slot]);
act_move.c:		if ( IS_SET( ch->in_room->room_flags, ROOM_NO_ASTRAL ) )
act_move.c:        ch->tempnum = slot;
act_move.c:        ch->substate = SUB_NONE;
act_move.c:		if ( ch->pcdata->memorize[ch->tempnum] > 0)
act_move.c:        ch->pcdata->memorize[ch->tempnum] = ch->in_room->vnum;
act_move.c:        ch->substate = SUB_NONE;
act_obj.c:        if( ch->class == class )
act_obj.c:    if( ch->level2 == -1 )
act_obj.c:        if( ch->class == class )
act_obj.c:        if( ch->class == class || ch->class2 == class )
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:        if(obj->item_type == ITEM_GOLD) ch->gold += amt;
act_obj.c:        if(obj->item_type == ITEM_COPPER) ch->copper += amt;
act_obj.c:        if(obj->item_type == ITEM_SILVER) ch->silver +=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:            save_house_by_vnum(ch->in_room->vnum); /* House Object Saving */
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:                if( str_cmp( name, ch->name ) )
act_obj.c:                    sprintf( buf, "%s is looting %s's corpse!  %s(room %d)", ch->name,
act_obj.c:                             "(ClanObject) " : "", ch->in_room->vnum );
act_obj.c:		    sprintf( buf, "%s is looting %s's corpse at %s!", ch->name, capitalize( name ), ch->in_room->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 ( type == 0 && ch->gold < number )
act_obj.c:		if ( type == 1 && ch->silver < number )
act_obj.c:	    if ( type == 2 && ch->copper < number )
act_obj.c:	    if ( type == 0 ) ch->gold -= number;
act_obj.c:	    if ( type == 1 ) ch->silver -= number;
act_obj.c:	    if ( type == 2 ) ch->copper -= number;
act_obj.c:	    for ( obj = ch->in_room->first_content; obj; obj = obj_next )
act_obj.c:	    obj_to_room( create_money( number, 0 ), ch->in_room );
act_obj.c:	    obj_to_room( create_money( number, 1 ), ch->in_room );
act_obj.c:	    obj_to_room( create_money( number, 2 ), 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:    save_house_by_vnum(ch->in_room->vnum); /* House Object Saving */
act_obj.c:	if ( type == 0 && ch->gold < amount )
act_obj.c:	if ( type == 1 && ch->silver < amount )
act_obj.c:	if ( type == 2 && ch->copper < amount )
act_obj.c:	ch->gold     -= amount;
act_obj.c:	ch->silver     -= amount;
act_obj.c:	ch->copper     -= 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:    if( ch->level2 == -1 && obj->level > get_trust( ch ) )
act_obj.c:    /* Note, ch->level HAS to be used as opposed to get_trust because ch->level
act_obj.c:    else if( ch->level2 != -1 && obj->level > ch->level && !IS_IMMORTAL( ch ) )
act_obj.c:    ||   ( IS_OBJ_STAT(obj, ITEM_ANTI_VAMPIRE) && ch->race == RACE_VAMPIRE )
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 ( ch->level - obj->value[5] > 5
act_obj.c:            ||   obj->value[5] - ch->level > 5 )
act_obj.c:                obj_to_room( tmpObj, ch->in_room );
act_obj.c:    ch->copper += 1;
act_obj.c:    save_house_by_vnum(ch->in_room->vnum); /* Prevent House Object Duplication */
act_obj.c:    if ( arg[0] == '\0' || !str_cmp( arg, ch->name ) )
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:        for( obj = ch->in_room->first_content ; obj ; obj = obj_next )
act_obj.c:        obj = get_obj_list_rev( ch, arg, ch->in_room->last_content );
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:          chwealth = get_value(ch->gold, ch->silver, ch->copper);
act_obj.c:	     if(ch->gold < gbid || ch->silver < sbid || ch->copper < cbid){
act_obj.c:          ch->gold -= gbid;
act_obj.c:          ch->silver -= sbid;
act_obj.c:          ch->copper -= cbid;
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_obj.c:    for ( obj = ch->first_carrying; obj; obj = obj_next )
act_obj.c:        if (!can_drop_obj(ch, obj) && ch->level < LEVEL_IMMORTAL )
act_obj.c:    new_ob = create_object( get_obj_index( first_ob->value[2] ), ch->level );
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:        DISPOSE( ch->pcdata->bamfin );
act_wiz.c:        ch->pcdata->bamfin = str_dup( argument );
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:        DISPOSE( ch->pcdata->bamfout );
act_wiz.c:        ch->pcdata->bamfout = str_dup( argument );
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:    if( ch->level2 != -1 )
act_wiz.c:        if( ch->level < LEVEL_PCAVATAR )
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:    if( !ch->in_room->compress )
act_wiz.c:        decompressRoom( ch->in_room );
act_wiz.c:        DISPOSE( ch->in_room->uncomp_desc );
act_wiz.c:    showRoom( ch, ch->in_room );
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( buf1, "\n\r&R[&WINFO&R] &cThe world darkens as %s recreates it and the rest of the universe.\n\r", ch->name);
act_wiz.c:               fprintf (fp, "%d %s %s\n", d->descriptor, och->name, d->host);
act_wiz.c:               if (och->level == 1)
act_wiz.c:                   och->level++; /* Advance_level doesn't do that */
act_wiz.c:                   && xIS_SET( och->act, PLR_SAVREBOOT ) )
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( vch->desc )
act_wiz.c:		  I3_close_char( vch->desc );
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:        save_house_by_vnum(ch->in_room->vnum); /* Prevent House Object Duplication */
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( buf, "%s%s", GOD_DIR, capitalize(ch->name) );
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:    if( ch->pcdata->council )
act_wiz.c:        ch->pcdata->council->num_members--;
act_wiz.c:        rem_council_member( ch->pcdata->council, ch->name );
act_wiz.c:    if( ch->pcdata->council2 )
act_wiz.c:        ch->pcdata->council->num_members--;
act_wiz.c:        rem_council_member( ch->pcdata->council, ch->name );
act_wiz.c:    if( ch->pcdata->clan )
act_wiz.c:        ch->pcdata->clan->num_members--;
act_wiz.c:        rem_clan_member( ch->pcdata->clan, ch->name );
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:    || str_cmp(ch->pcdata->council2_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->pcdata->council2_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:	  || str_cmp(ch->pcdata->council2_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(ch->pcdata->council2_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:          || str_cmp(ch->pcdata->council2_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:          || str_cmp(ch->pcdata->council2_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:          || str_cmp(ch->pcdata->council2_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->pcdata->council2_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:          || str_cmp(ch->pcdata->council2_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 )
act_wiz.c:    ch->pcdata->smited++;
act_wiz.c:    adjust_hiscore( "smiter", ch, ch->pcdata->smited );
act_wiz.c:    if( str_cmp( ch->name, "Kratas" ) )
act_wiz.c:        sprintf(buf, "Your Trust is %d.\n\r",ch->trust);
act_wiz.c:        if(ch->trust == 0) {
act_wiz.c:        ch->trust = ch->level;
act_wiz.c:   if ( level <= ch->level )
act_wiz.c:        temp_prac = ch->practice;
act_wiz.c:        ch->level    = 1;
act_wiz.c:        ch->exp      = exp_level(ch,ch->level);
act_wiz.c:        ch->max_hit  = 20;
act_wiz.c:        ch->max_mana = 100;
act_wiz.c:        ch->max_move = 100;
act_wiz.c:        ch->practice = 0;
act_wiz.c:        ch->hit      = ch->max_hit;
act_wiz.c:        ch->mana     = ch->max_mana;
act_wiz.c:        ch->move     = ch->max_move;
act_wiz.c:        ch->practice = temp_prac;
act_wiz.c:    for ( iLevel = ch->level ; iLevel < level; iLevel++ )
act_wiz.c:        ch->level += 1;
act_wiz.c:    sprintf(buf,"You are now level %d.\n\r",ch->level);
act_wiz.c:    ch->exp   = exp_level(ch,ch->level)
act_wiz.c:                  * UMAX( 1, ch->level );
act_wiz.c:   if(ch->level < 103) {
act_wiz.c:   for (obj = ch->first_carrying; obj; obj = obj_next)
act_wiz.c:	    if ( victim->level > ch->level )
act_wiz.c:	    sprintf(buf, "The Immortal %s has removed %s from their clan!", ch->name, victim->name);
act_wiz.c:		if ( victim->level > ch->level )
act_wiz.c:				ch->name, skill_table[sn]->name);
antitank.c:	for( lowbie = ch->in_room->first_person ; lowbie ; lowbie = lowbie->next_in_room )
antitank.c:				ch->pIndexData->vnum );
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:            if( ch->pcdata->arena )
arena.c:                switch( ch->pcdata->arena->status )
arena.c:            if ((ch->gold < arena_fee) && !IS_IMMORTAL(ch))
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:            CREATE( ch->pcdata->arena, ARENA_DATA, 1 );
arena.c:            ch->pcdata->arena->status = 2;
arena.c:            if( !ch->pcdata->arena )
arena.c:            if( ch->pcdata->arena->status != 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:            DISPOSE( ch->pcdata->arena );
arena.c:            if( ch->pcdata->arena )
arena.c:            if( ch->gold < betamt )
arena.c:            CREATE( ch->pcdata->arena, ARENA_DATA, 1 );
arena.c:            ch->pcdata->arena->bet = betamt;
arena.c:            ch->gold -= ch->pcdata->arena->bet;
arena.c:            ch->pcdata->arena->bet_on = victim;
arena.c:               ch->pcdata->arena->bet_on->pcdata->arena->num_bets++;
arena.c:            arena_total_bets+=ch->pcdata->arena->bet;
arena.c:            ch->pcdata->arena->status = 1;
arena.c:                if (ch->pcdata->arena && ch->pcdata->arena->status == 2)
arena.c:                if (sysdata.arena==1 && (ch->pcdata->arena && ch->pcdata->arena->status == 0))
arena.c:            if( ch->pcdata->arena && ch->pcdata->arena->status == 2 )
arena.c:            if( !ch->pcdata->arena )
arena.c:            switch( ch->pcdata->arena->status )
arena.c:                if( ch->pcdata->arena->bet_on != arena_winner )
arena.c:                if (ch->pcdata->arena->bet_on->pcdata->arena->num_bets <= 0)
arena.c:                    ch->pcdata->arena->bet_on->pcdata->arena->num_bets=1;
arena.c:                /* percent = ch->pcdata->arenabet/arena_total_bets;
arena.c:                 percent = (arena_total_bets/ch->pcdata->arenabet);
arena.c:                    percent = 1/ch->pcdata->arena->bet_on->pcdata->arena->num_bets;
arena.c:                    amount = ch->pcdata->arena->bet * percent;
arena.c:                    gold = ch->pcdata->arena->bet + amount;
arena.c:                ch->gold += gold;
arena.c:                DISPOSE( ch->pcdata->arena );
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->pcdata->arena_wins++;
arena.c:                    adjust_hiscore("arena_pkill", ch, ch->pcdata->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:                DISPOSE( ch->pcdata->arena );
arena.c:                DISPOSE( ch->pcdata->arena );
arena.c:                DISPOSE( ch->pcdata->arena );
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->pcdata->arena_kills++;		
assa.c:	if ( (IS_NPC( ch ) && ( ch->desc->original ))
assa.c:	if ( ch->mount )
assa.c:	percent = number_percent() + UMAX(0, (victim->level - ch->level) * 2);
assa.c:	if( IS_NPC(ch) || percent < ch->pcdata->learned[gsn_assassinate] )
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 || pban->flag == ch->class2) )
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 );
bank.c:  for ( banker = ch->in_room->first_person; banker; banker = banker->next_in_room )
bank.c:    sprintf( buf, "Sorry, %s, we don't do business with mobs.", ch->short_descr );
bank.c:    sprintf( buf, "%s How much do you wish to deposit?", ch->name );
bank.c:    sprintf( buf, "%s How much do you wish to deposit?", ch->name );
bank.c:    sprintf( buf, "%s You must specify gold, silver, or copper.", ch->name );
bank.c:    sprintf( buf, "%s I don't trade in that currency.", ch->name );
bank.c:    isgold ? (amount = ch->gold) : issilver ? (amount = ch->silver) : (amount = ch->copper);
bank.c:  if ( ( amount > ch->gold && isgold ) || ( amount > ch->silver && issilver ) || ( amount > ch->copper && iscopper ) )
bank.c:      sprintf( buf, "%s Sorry, but you don't have that much %s to deposit.", ch->name, isgold ? "gold" : issilver ? "silver" : 
bank.c:      sprintf( buf, "%s Oh, I see.. I didn't know i was doing business with a comedian.", ch->name );
bank.c:      if( ch->pcdata->balance == 5000000 )
bank.c:      if( ch->pcdata->balance + amount > 5000000 )
bank.c:          amount = 5000000 - ch->pcdata->balance;
bank.c:      ch->gold		-= amount;
bank.c:      ch->silver	-= amount;
bank.c:      ch->copper	-= amount;
bank.c:  ch->pcdata->balance	+= newamount;
bank.c:    sprintf( buf, "Sorry, %s, we don't do business with mobs.", ch->short_descr );
bank.c:    sprintf( buf, "%s How much do you wish to withdraw?", ch->name );
bank.c:    sprintf( buf, "%s How much do you wish to withdraw?", ch->name );
bank.c:    sprintf( buf, "%s You must specify gold, silver, or copper.", ch->name );
bank.c:	thebalance = goldamount(ch->pcdata->balance);
bank.c:	thebalance = silvamount(ch->pcdata->balance);
bank.c:	thebalance = ch->pcdata->balance;
bank.c:    amount = ch->pcdata->balance;    
bank.c:    sprintf( buf, "%s But you do not have that much %s in your account!", ch->name, isgold ? "gold" : issilver ? "silver" : 
bank.c:    sprintf( buf, "%s Oh I see.. I didn't know i was doing business with a comedian.", ch->name );
bank.c:      ch->pcdata->balance	-= amount;
bank.c:      ch->copper 		+= amount;
bank.c:      ch->pcdata->balance	-= newamount;
bank.c:      ch->gold                  += amount;
bank.c:      ch->pcdata->balance	-= newamount;
bank.c:      ch->silver                += amount;
bank.c:      sprintf( buf, "Sorry, %s, we don't do business with mobs.", ch->short_descr );
bank.c:    goldies = goldamount(ch->pcdata->balance);
bank.c:    silvies = silvamount(ch->pcdata->balance);
bank.c:    sprintf( buf, "&YGold: %d.\n\r&WSilver: %d.\n\r&RCopper: %d.\n\r\n\r", goldies, silvies, ch->pcdata->balance);
bank.c:    sprintf( buf, "Sorry, %s, we don't do business with mobs.", ch->short_descr );
bank.c:    sprintf( buf, "%s How much do you wish to send to who?", ch->name );
bank.c:    sprintf( buf, "%s How much do you wish to send to who?", ch->name );
bank.c:      thebalance = goldamount(ch->pcdata->balance);
bank.c:      thebalance = silvamount(ch->pcdata->balance);
bank.c:     

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

Site Stats

Snippets: 1791
Codebases: 571