team

rm6/src/team · 1.6 MB

From the archive cbhq-rm6.tar.gz

Download the archive   « Back to the archive contents

act_comm.c: * -----------------------------------------------------------|   (0...0)   *
act_comm.c: * -----------------------------------------------------------|    {o o}    *
act_comm.c: * ------------------------------------------------------------------------ *
act_comm.c: * ------------------------------------------------------------------------ *
act_comm.c:/* mobchat.c -- Scion */
act_comm.c:    { -1,               "&W[&c%s&W] &c%s&w", "&W[&c%s&W] &w$n&W: &c$t&w", "&W[&c%s&W] &wYou&W: &c%s&w\n\r", AT_CHAN_DEFAULT,   1 }
act_comm.c:    ROOM_INDEX_DATA *room = ch->in_room;
act_comm.c:    if ( IS_SET( room->room_flags, ROOM_SILENCE ) )
act_comm.c:    /* if ( xIS_SET( room->affected_by, ROOM_AFF_SILENCE ) )
act_comm.c:/* Text scrambler -- Altrag */
act_comm.c:	    	conversion = -conversion + position - modifier + argument[position] - 'A';
act_comm.c:	    	conversion = number_range( conversion - 5, conversion + 5 );
act_comm.c:	    		conversion -= 26;
act_comm.c:	    	conversion = -conversion + position - modifier + argument[position] - 'a';
act_comm.c:	    	conversion = number_range( conversion - 5, conversion + 5 );
act_comm.c:	    		conversion -= 26;
act_comm.c:	    	conversion = -conversion + position - modifier + argument[position] - '0';
act_comm.c:	    	conversion = number_range( conversion - 2, conversion + 2 );
act_comm.c:	    		conversion -= 10;
act_comm.c:/* I'll rewrite this later if its still needed.. -- Altrag
act_comm.c:    for (lng = first_lang; lng; lng = lng->next)
act_comm.c:	if (!str_cmp(lng->name, name))
act_comm.c:	for (cnv = lng->first_precnv; cnv; cnv = cnv->next)
act_comm.c:	    if (!str_prefix(cnv->old, pbuf))
act_comm.c:		    strncpy(pbuf2, pbuf, cnv->olen);
act_comm.c:		    pbuf2[cnv->olen] = '\0';
act_comm.c:		    pbuf2 += cnv->olen;
act_comm.c:		    strcpy(pbuf2, cnv->new);
act_comm.c:		    pbuf2 += cnv->nlen;
act_comm.c:		pbuf += cnv->olen;
act_comm.c:		*pbuf2 = lng->alphabet[LOWER(*pbuf) - 'a'];
act_comm.c:	for (cnv = lng->first_cnv; cnv; cnv = cnv->next)
act_comm.c:	    if (!str_prefix(cnv->old, pbuf))
act_comm.c:		strcpy(pbuf2, cnv->new);
act_comm.c:		pbuf += cnv->olen;
act_comm.c:		pbuf2 += cnv->nlen;
act_comm.c:  if ( IS_NPC( ch ) || !ch->pcdata ) return (char *) argument;
act_comm.c:  drunk = ch->pcdata->condition[COND_DRUNK];
act_comm.c:	    txt1--;
act_comm.c:	  *txt++ = '-';
act_comm.c: * An attempt to reduce redundancy                 - Tagith
act_comm.c:    if(!d) return FALSE; /* catch the link dead - shogar */
act_comm.c:    vch = d->character;
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: * Allows people to do socials, even targeted, over channels	   - Tagith
act_comm.c:    if ( !IS_NPC(ch) && xIS_SET( ch->act, PLR_NO_EMOTE ) )
act_comm.c:	send_to_char( "You are anti-social!\n\r", ch );
act_comm.c:	position = ch->position;
act_comm.c:	ch->position = POS_STANDING;
act_comm.c:	sprintf( buf, "[%s] %s", verb, social->char_no_arg );
act_comm.c:	ch->position = position;
act_comm.c:	if( social->others_no_arg && social->others_no_arg[0] != '\0' )
act_comm.c:	    sprintf( otherbuf, "[%s] %s", verb, social->others_no_arg );
act_comm.c:	sprintf( buf, "[%s] %s", verb, social->char_auto );
act_comm.c:	position = ch->position;
act_comm.c:	ch->position = POS_STANDING;
act_comm.c:	ch->position = position;
act_comm.c:	if ( social->others_auto && social->others_auto[0] != '\0' )
act_comm.c:	    sprintf( otherbuf, "[%s] %s", verb, social->others_auto );
act_comm.c:	sprintf( buf, "[%s] %s", verb, social->char_found );
act_comm.c:	position = ch->position;
act_comm.c:	ch->position = POS_STANDING;
act_comm.c:	ch->position = position;
act_comm.c:	if ( social->vict_found
act_comm.c:	&&   social->vict_found[0] != '\0'
act_comm.c:	&&   can_see_chan( ch, victim->desc, channel ) )
act_comm.c:	    sprintf( buf, "[%s] %s", verb, social->vict_found );
act_comm.c:	    position = victim->position;
act_comm.c:	    victim->position = POS_STANDING;
act_comm.c:	    victim->position = position;
act_comm.c:	if ( social->others_found && social->others_found[0] != '\0' )
act_comm.c:	    sprintf( otherbuf, "[%s] %s", verb, social->others_found );
act_comm.c:    for ( d = first_descriptor; d; d = d->next )
act_comm.c:	CHAR_DATA *vch = d->character;
act_comm.c:	if ( d->connected == CON_PLAYING
act_comm.c: * March 19, 1999   Adding AaernMUD Talk_Channel code to UCMM --Justice
act_comm.c:    int speaking = -1, lang;
act_comm.c:        if ( ch->speaking & lang_array[lang] )
act_comm.c: * NOTE: The line containing -1 as the channel flag should always be the last channel, any *
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:    for ( i = 0; local_cfields[i].channel != -1; i++ )
act_comm.c:        if( local_cfields[i].channel == -1 || channel == CHANNEL_CLAN )
act_comm.c:                        || xIS_SET( ch->act, PLR_HOLYLIGHT ) )
act_comm.c:    if ( argument[0] == '@' ) /* was '@@', not sure whether it's bad or not -- Scion */
act_comm.c:                    sprintf( soc_char, local_cfields[i].prefix, capitalize( verb ), social->char_auto );
act_comm.c:                    sprintf( soc_others, local_cfields[i].prefix, capitalize( verb ), social->others_auto );
act_comm.c:                    sprintf( soc_char, local_cfields[i].prefix, capitalize( verb ), social->char_found );
act_comm.c:                    sprintf( soc_vict, local_cfields[i].prefix, capitalize( verb ), social->vict_found );
act_comm.c:                    sprintf( soc_others, local_cfields[i].prefix, capitalize( verb ), social->others_found );
act_comm.c:                sprintf( soc_char, local_cfields[i].prefix, capitalize( verb ), social->char_no_arg );
act_comm.c:                sprintf( soc_others, local_cfields[i].prefix, capitalize( verb ), social->others_no_arg );
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:              original = puff->in_room;
act_comm.c://    sprintf( logbuf, "&G%s&w %sed&W: &G%s", ch->name, verb, argument );
act_comm.c:    if( local_cfields[i].channel != -1 || channel == CHANNEL_CLAN )
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:                        int z = y-1;
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:    for ( d = first_descriptor; d; d = d->next )
act_comm.c:        och = d->original ? d->original : d->character;
act_comm.c:        vch = d->character;
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:    for ( d = first_descriptor; d; d = d->next )
act_comm.c:	och = d->original ? d->original : d->character;
act_comm.c:	vch = d->character;
act_comm.c:	if ( d->connected == CON_PLAYING
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:    int speaking = -1, lang;
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:	        sprintf(buf2, "%s '%s'", tmp->name, sbuf);
act_comm.c:	else if(found && !str_cmp(argbuf, vch->name) && ch!=NULL && tmp!=NULL)
act_comm.c:    ch->act = actflags;
act_comm.c:    	sprintf(buf2, "%s '%s'", tmp->name, drunk_speech( argument, ch ));
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:	/* Yakkov's amplify request - shogar */
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:	for ( pexit = was_in_room->first_exit; pexit; pexit = pexit->next )
act_comm.c:		if ( pexit->to_room
act_comm.c:		    &&   pexit->to_room != was_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:    /* Various tables for randomness -- Kratas */
act_comm.c:    int speaking = -1, lang;
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:    arglen = strlen( argument ) - 1;
act_comm.c:        --arglen;
act_comm.c:        if( argument[arglen-1] == '.' && argument[arglen-2] == '.' )
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:    int speaking = -1, lang;
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:    int speaking = -1, lang;
act_comm.c:	if ( ch->speaking & lang_array[lang] )
act_comm.c:    REMOVE_BIT( ch->deaf, CHANNEL_WHISPER );
act_comm.c:    if ( !IS_NPC( victim ) && ( victim->switched ) 
act_comm.c:	&& !IS_AFFECTED(victim->switched, AFF_POSSESS) )
act_comm.c:   else if ( !IS_NPC( victim ) && ( !victim->desc ) )
act_comm.c:      send_to_char( "That player is link-dead.\n\r", ch );
act_comm.c:    if ( !IS_NPC(victim) && xIS_SET(victim->act, PLR_AFK) )
act_comm.c:    if ( IS_SET( victim->deaf, CHANNEL_WHISPER ) 
act_comm.c:    if ( !IS_NPC(victim) &&  xIS_SET(victim->act, PLR_SILENCE) )
act_comm.c:    if ( victim->desc		/* make sure desc exists first  -Thoric */
act_comm.c:    && (  victim->desc->connected == CON_EDITING
act_comm.c:    || ( victim->desc->connected >= CON_NOTE_TO
act_comm.c:    &&   victim->desc->connected <= CON_NOTE_FINISH))
act_comm.c:			victim->name);
act_comm.c:			"are unable to do so.\n\r", ch->name);
act_comm.c:    position		= victim->position;
act_comm.c:    victim->position	= POS_STANDING;
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:    victim->position	= position;
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:		 IS_NPC( victim ) ? victim->short_descr : victim->name );
act_comm.c:        /* NPC check added by Samson 2-15-98 */
act_comm.c:        /* PCFLAG_NOBEEP check added by Samson 2-15-98 */
act_comm.c:        if ( IS_SET(victim->pcdata->flags, PCFLAG_NOBEEP) )
act_comm.c:    victim->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:    int speaking = -1, lang;
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:    if ( !IS_NPC( victim ) && ( victim->switched ) 
act_comm.c:	&& !IS_AFFECTED(victim->switched, AFF_POSSESS) )
act_comm.c:    else if ( !IS_NPC( victim ) && ( victim->switched )
act_comm.c:              &&  IS_AFFECTED(victim->switched, AFF_POSSESS) )
act_comm.c:        switched_victim = victim->switched;
act_comm.c:    else if ( !IS_NPC( victim ) && ( !victim->desc ) )
act_comm.c:        send_to_char( "That player is link-dead.\n\r", ch );
act_comm.c:    if ( !IS_NPC(victim) && xIS_SET(victim->act, PLR_AFK) )
act_comm.c:    if ( IS_SET( victim->deaf, CHANNEL_TELLS ) 
act_comm.c:    if ( !IS_NPC(victim) && xIS_SET(victim->act, PLR_SILENCE) )
act_comm.c:    || (!IS_NPC(victim)&&IS_SET(victim->in_room->room_flags, ROOM_SILENCE ) ) )
act_comm.c:    if ( victim->desc		/* make sure desc exists first  -Thoric */
act_comm.c:    && ( victim->desc->connected == CON_EDITING
act_comm.c:    || ( victim->desc->connected >= CON_NOTE_TO
act_comm.c:    &&   victim->desc->connected <= CON_NOTE_FINISH))
act_comm.c:                      victim->name);
act_comm.c:                      "are unable to do so.\n\r", ch->name);
act_comm.c:    ch->retell = victim;
act_comm.c:    if(!IS_NPC(victim) && IS_IMMORTAL(victim) && victim->pcdata->tell_history &&
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:	victim->pcdata->lt_index =
act_comm.c:		tolower(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]) - 'a';
act_comm.c:	if(victim->pcdata->tell_history[victim->pcdata->lt_index])
act_comm.c:		STRFREE(victim->pcdata->tell_history[victim->pcdata->lt_index]);
act_comm.c:	victim->pcdata->tell_history[victim->pcdata->lt_index] =
act_comm.c:    position		= victim->position;
act_comm.c:    victim->position	= POS_STANDING;
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:    /* mobs can talk! -- Scion */
act_comm.c:    victim->position	= position;
act_comm.c:    victim->reply	= ch;
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:		 IS_NPC( victim ) ? victim->short_descr : victim->name );
act_comm.c:    int speaking = -1, lang;
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:    if ( !IS_NPC( victim ) && ( victim->switched )
act_comm.c:   else if ( !IS_NPC( victim ) && ( !victim->desc ) )
act_comm.c:      send_to_char( "That player is link-dead.\n\r", ch );
act_comm.c:    if ( !IS_NPC(victim) && xIS_SET(victim->act, PLR_AFK) )
act_comm.c:    if ( IS_SET( victim->deaf, CHANNEL_TELLS ) 
act_comm.c:    || ( !IS_NPC(victim) && IS_SET( victim->in_room->room_flags, ROOM_SILENCE ) ) )
act_comm.c:    if ( victim->desc		/* make sure desc exists first  -Thoric */
act_comm.c:    && ( victim->desc->connected == CON_EDITING
act_comm.c:    || ( victim->desc->connected >= CON_NOTE_TO
act_comm.c:    &&   victim->desc->connected <= CON_NOTE_FINISH))
act_comm.c:    			victim->name);
act_comm.c:    			"are unable to do so.\n\r", ch->name);
act_comm.c:    position		= victim->position;
act_comm.c:    victim->position	= POS_STANDING;
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:    victim->position	= position;
act_comm.c:    victim->reply	= ch;
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:		 IS_NPC( victim ) ? victim->short_descr : victim->name );
act_comm.c:    if(!IS_NPC(victim) && IS_IMMORTAL(victim) && victim->pcdata->tell_history &&
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:    	victim->pcdata->lt_index =
act_comm.c:    		tolower(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]) - 'a';
act_comm.c:    	if(victim->pcdata->tell_history[victim->pcdata->lt_index])
act_comm.c:    		STRFREE(victim->pcdata->tell_history[victim->pcdata->lt_index]);
act_comm.c:    	victim->pcdata->tell_history[victim->pcdata->lt_index] =
act_comm.c:	int speaking = -1, lang;
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:	if(!IS_NPC(victim) && (victim->switched) &&
act_comm.c:		!IS_AFFECTED(victim->switched, AFF_POSSESS))
act_comm.c:	else if(!IS_NPC(victim) && (victim->switched) &&
act_comm.c:		IS_AFFECTED(victim->switched, AFF_POSSESS))
act_comm.c:		switched_victim = victim->switched;
act_comm.c:	else if(!IS_NPC(victim) &&(!victim->desc))
act_comm.c:		send_to_char("That player is link-dead.\n\r", ch);
act_comm.c:	if(!IS_NPC(victim) && xIS_SET(victim->act, PLR_AFK) )
act_comm.c:	if(IS_SET(victim->deaf, CHANNEL_TELLS) &&
act_comm.c:	if ( !IS_NPC(victim) && xIS_SET(victim->act, PLR_SILENCE) )
act_comm.c:		IS_SET(victim->in_room->room_flags, ROOM_SILENCE)))
act_comm.c:        if( victim->desc
act_comm.c:        && ( victim->desc->connected == CON_EDITING
act_comm.c:        || ( victim->desc->connected >= CON_NOTE_TO
act_comm.c:        &&   victim->desc->connected <= CON_NOTE_FINISH))
act_comm.c:				victim->name);
act_comm.c:				"are unable to do so.\n\r", ch->name);
act_comm.c:	if(!IS_NPC(victim) && IS_IMMORTAL(victim) && victim->pcdata->tell_history &&
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:		victim->pcdata->lt_index =
act_comm.c:			tolower(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0])
act_comm.c:			 - 'a';
act_comm.c:		if(victim->pcdata->tell_history[victim->pcdata->lt_index])
act_comm.c:			STRFREE(victim->pcdata->tell_history[victim->pcdata->lt_index]);
act_comm.c:		victim->pcdata->tell_history[victim->pcdata->lt_index] =
act_comm.c:	position = victim->position;
act_comm.c:	victim->position = POS_STANDING;
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:	victim->position = position;
act_comm.c:	victim->reply = ch;
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:			IS_NPC(victim) ? victim->short_descr : victim->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:		index = tolower(argument[0]) - 'a';
act_comm.c:	if(ch->pcdata->tell_history[index])
act_comm.c:		ch_printf(ch, ch->pcdata->tell_history[index]);
act_comm.c:    int speaking = -1, lang;
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:    if ( isalpha(plast[-1]) )
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:    sprintf( buf, "(%-2.2d/%-2.2d):  %s",
act_comm.c:	t->tm_mon+1, t->tm_mday, argument );
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 ( auction->item != NULL && ((ch == auction->buyer) || (ch == auction->seller) ) )
act_comm.c:    if ( IS_PKILL( ch ) && ch->wimpy > (int) ch->max_hit / 2.25 )
act_comm.c:	/* Make them lose artifact items. Can't leave the game with those! -- Scion */
act_comm.c:	drop_artifacts(ch, ch->last_carrying);
act_comm.c:	/* Get 'em dismounted until we finish mount saving -- Blodkai, 4/97 */
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:    /* Synch clandata up only when clan member quits now. --Shaddai
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:/*	Don't really need this.. just annoys me :)   -- Scion */
act_comm.c:   Make them drop artifact items. Can't leave the game with those! -- Scion */
act_comm.c:	/* Expecting a ch->last_carrying or an obj->last_content
act_comm.c:		if (obj->last_content)
act_comm.c:			drop_artifacts(ch, obj->last_content);
act_comm.c:			obj=obj->prev_content;
act_comm.c:			if (tobj->in_obj)
act_comm.c:			if (tobj->carried_by)
act_comm.c:			obj_to_room(tobj, ch->in_room);
act_comm.c:			obj = obj->prev_content;
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:    /* looks like the menus keep crashing, lets log them - shogar */
act_comm.c:    sprintf(arg1,"%s: omenu %s",ch->name,argument);
act_comm.c:        send_to_char( "            and  <page>  is an optional letter to select menu-pages\n\r",     ch );
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:    send_obj_page_to_char(ch, obj->pIndexData, arg2[0]);   
act_comm.c:    /* looks like the menus keep crashing, lets log them - shogar */
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:    /* looks like the menus keep crashing, lets log them - shogar */
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:    /* looks like the menus keep crashing, lets log them - shogar */
act_comm.c:    sprintf(arg1,"%s: mmenu %s",ch->name,argument);
act_comm.c:        send_to_char( "            and  <page>  is an optional letter to select menu-pages\n\r",     ch );
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:    send_page_to_char(ch, victim->pIndexData, arg2[0]);   
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:    WAIT_STATE( ch, 2 ); /* For big muds with save-happy players, like RoD */
act_comm.c: * (Which exists in many maze areas)			-Thoric
act_comm.c:    for ( tmp = victim; tmp; tmp = tmp->master )
act_comm.c:    && ( victim->master == ch ) )
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:    && victim->pcdata->council 
act_comm.c:    && !str_cmp(victim->pcdata->council->name,"Newbie Council")))
act_comm.c:-- Screw this, level restrictions on following are stupid. -- Scion */
act_comm.c:    if ( ch->master )
act_comm.c:    if ( ch->master )
act_comm.c:	bug( "Add_follower: non-null master.", 0 );
act_comm.c:    ch->master        = master;
act_comm.c:    ch->leader        = NULL;
act_comm.c:    /* Support for saving pets --Shaddai */
act_comm.c:    if ( IS_NPC(ch) && xIS_SET(ch->act, ACT_PET) && !IS_NPC(master) )
act_comm.c:	master->pcdata->pet = ch;
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:	if ( !IS_AFFECTED(victim, AFF_CHARM) || victim->master != ch )
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:/* Overhauled 2/97 -- Blodkai */
act_comm.c:	leader = ch->leader ? ch->leader : ch;
act_comm.c:        ch_printf( ch, "\n\rFollowing %-12.12s     [hitpnts]   [ magic ] [mst] [mvs] [race]%s\n\r",
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:                             "[%2d %s] %-16s ????/???? hp ????/???? %s ????/???? mv ????? xp\n\r",
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:		    ch_printf( ch, "%-2d %2.2s %3.3s",
act_comm.c:                               gch->level,
act_comm.c:                               /* IS_NPC(gch) ? "Mob" : class_table[gch->class]->who_name */
act_comm.c:                    ch_printf( ch, "%-12.12s ",
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:                      ch_printf( ch, "%5d/%-5d ",
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:                                                  "---" );
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 ( victim->master != ch && ch != victim )
act_comm.c:	victim->leader = NULL;
act_comm.c:    if ( ch->level - victim->level < -8
act_comm.c:    ||   ch->level - victim->level >  8 
act_comm.c:    victim->leader = ch;
act_comm.c:    if ( ch->gold < amount )
act_comm.c:    for ( gch = ch->in_room->first_person; gch; gch = gch->next_in_room )
act_comm.c:    if ( xIS_SET(ch->act, PLR_AUTOGOLD) && members < 2 )
act_comm.c:    ch->gold -= amount;
act_comm.c:    ch->gold += share + extra;
act_comm.c:    for ( gch = ch->in_room->first_person; gch; gch = gch->next_in_room )
act_comm.c:	    gch->gold += share;
act_comm.c:    int speaking = -1, lang;
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:		   still garble though. -- Altrag */
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:    for (d = first_descriptor; d; d = d->next)
act_comm.c:        original = d->original ? d->original : d->character; /* if switched */
act_comm.c:        if ((d->connected == CON_PLAYING) && !IS_SET(original->deaf,CHANNEL_AUCTION) 
act_comm.c:        && !IS_SET(original->in_room->room_flags, ROOM_SILENCE) && !NOT_AUTHED(original))
act_comm.c: * Language support functions. -- Altrag
act_comm.c: * Modified to return how well the language is known 04/04/98 - Thoric
act_comm.c: * a number based on player's wisdom (maybe 50+((25-wisdom)*2) ?)
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:	 Clan = common for mobs.. snicker.. -- Altrag
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:		  if ( (sn = skill_lookup(lang_names[lang])) != -1 )
act_comm.c:		    return ch->pcdata->learned[sn];
act_comm.c:	if ( race_table[ch->race]->language & language )
act_comm.c:	if ( ch->speaks & language )
act_comm.c:				if ( ch->pcdata->learned[sn] >= 99 )
act_comm.c:		ch->speaking = ~LANG_CLAN;
act_comm.c:					(IS_NPC(ch) || !ch->pcdata->clan) )
act_comm.c:				ch->speaking = lang_array[langs];
act_comm.c:		if ( race_table[ch->race]->language & lang_array[lang] ||
act_comm.c:			 ch->pcdata->learned[sn] >= 99 )
act_comm.c:		for ( sch = ch->in_room->first_person; sch; sch = sch->next )
act_comm.c:			if ( IS_NPC(sch) && xIS_SET(sch->act, ACT_SCHOLAR)
act_comm.c:			&&   knows_language( sch, ch->speaking, ch )
act_comm.c:			&& (!sch->speaking || knows_language( ch, sch->speaking, sch )) )
act_comm.c:		if ( countlangs(ch->speaks) >= (ch->level / 10) &&
act_comm.c:			 ch->pcdata->learned[sn] <= 0 )
act_comm.c:		/* 0..16 cha = 2 pracs, 17..25 = 1 prac. -- Altrag */
act_comm.c:		prac = 2 - (get_curr_cha(ch) / 17);
act_comm.c:		if ( ch->practice < prac )
act_comm.c:		ch->practice -= prac;
act_comm.c:		/* Max 12% (5 + 4 + 3) at 24+ int and 21+ wis. -- Altrag */
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:      _word[j]='-'; j++;
act_comm.c:      _word[j]='@'; j++; /* Was @@ -- Scion */
act_info.c: * -----------------------------------------------------------|   (0...0)   *
act_info.c: * -----------------------------------------------------------|    {o o}    *
act_info.c: * ------------------------------------------------------------------------ *
act_info.c: * ------------------------------------------------------------------------ *
act_info.c:#include "imc-mercbase.h"
act_info.c:	ch_printf( ch, "&C> &wFor All:\n\r&C> &w%-12s %-12s %-12s\n\r", "Offender", "Victim", "Date" );
act_info.c:	ch_printf( ch, "&C> &wFor %s:\n\r&C> &w%-12s %-12s\n\r", victim->name, "Victim", "Date" );
act_info.c:        for ( illegal_pkill = first_pk; illegal_pkill; illegal_pkill = illegal_pkill->next )
act_info.c:                ch_printf( ch, "&C> &z&R%-12s &Y%-12s &G%-12s&w", illegal_pkill->name, illegal_pkill->vict,
act_info.c:                           illegal_pkill->date );
act_info.c:            else if (victim->name == illegal_pkill->name && victim)
act_info.c:                ch_printf( ch, "&C> &z&Y%-12s &G%-12s&w", illegal_pkill->vict, illegal_pkill->date );
act_info.c:    /* Sharpen skill --Cronel */
act_info.c:    if( obj->item_type == ITEM_WEAPON 
act_info.c:    && obj->value[5] == 1 )
act_info.c:          strcat( buf, "(Smouldering Red-Grey) "  );
act_info.c:          strcat( buf, "(Smouldering Red-White) "  );
act_info.c:          strcat( buf, "(Smouldering Grey-White) "  );
act_info.c:	if ( obj->short_descr )
act_info.c:	    strcat( buf, obj->short_descr );
act_info.c:	if ( obj->description )
act_info.c:	    strcat( buf, obj->description );
act_info.c: * Some increasingly freaky hallucinated objects		-Thoric
act_info.c:    switch( number_range( 6-URANGE(1,sms/2,5), sms ) )
act_info.c:    switch( number_range( 6-URANGE(1,sms/2,5), sms ) )
act_info.c:    if ( !ch->desc )
act_info.c:     * if there's no list... then don't do all this crap!  -Thoric
act_info.c:	   if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) )
act_info.c:    for ( obj = list; obj; obj = obj->next_content )
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:	offcount = URANGE( -(count), (count * ms) / 100, count*2 );
act_info.c:	  offcount -= number_range(0, offcount);
act_info.c:	   if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) )
act_info.c:    for ( obj = list; obj; obj = obj->next_content )
act_info.c:	    --tmp;
act_info.c:	if ( obj->wear_loc == WEAR_NONE
act_info.c:	&& (obj->item_type != ITEM_TRAP || IS_AFFECTED(ch, AFF_DETECTTRAPS) ) )
act_info.c:	    if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) )
act_info.c:		for ( iShow = nShow - 1; iShow >= 0; iShow-- )
act_info.c:			prgnShow[iShow] += obj->count;
act_info.c:	    pitShow[nShow] = obj->item_type;
act_info.c:		prgnShow    [nShow] = obj->count;
act_info.c:     * Output the formatted list.		-Color support by Thoric
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: * Show fancy descriptions for certain spell affects		-Thoric
act_info.c:      strcpy( name, victim->short_descr );
act_info.c:      strcpy( name, victim->name);
act_info.c:	ch_printf( ch, "%s wanders in a dazed, zombie-like state.\n\r", name );
act_info.c:    if ( !IS_NPC(victim) && !victim->desc
act_info.c:    &&    victim->switched && IS_AFFECTED(victim->switched, AFF_POSSESS) )
act_info.c:    if (IS_NPC(victim) &&ch->questmob > 0 && victim->pIndexData->vnum == ch->questmob)
act_info.c:    if ( !IS_NPC(victim) && victim->bounty > 0 )
act_info.c:    if ( !IS_NPC(victim) && victim->pcdata->team == 2 )
act_info.c:    if ( !IS_NPC(victim) && victim->pcdata->team == 1 )
act_info.c:    if ( !IS_NPC(victim) && xIS_SET(victim->act, PLR_TAGGED))
act_info.c:    if ( !IS_NPC(victim) && !victim->desc )
act_info.c:        if ( !victim->switched )
act_info.c:         && victim->desc )
act_info.c:        sprintf( buf1, "(%s)",victim->desc->original->name );
act_info.c:         &&   xIS_SET(victim->act, PLR_AFK) )
act_info.c:    if ( (!IS_NPC(victim) && xIS_SET(victim->act, PLR_WIZINVIS))
act_info.c:         || (IS_NPC(victim) && xIS_SET(victim->act, ACT_MOBINVIS)) )
act_info.c:            sprintf( buf1,"(Invis %d) ", victim->pcdata->wizinvis );
act_info.c:            sprintf( buf1,"(Mobinvis %d) ", victim->mobinvis);
act_info.c:    &&   victim->pcdata->clan
act_info.c:    &&   victim->pcdata->clan->badge )
act_info.c:        ch_printf_color( ch, "%s ", victim->pcdata->clan->badge );
act_info.c:    if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_info.c:            sprintf(buf+strlen(buf),"[%d] ",victim->pIndexData->vnum);
act_info.c:        strcat( buf, "(Wild-eyed) "  );
act_info.c:    if ( !IS_NPC(victim) && xIS_SET(victim->act, PLR_ATTACKER ) )
act_info.c:    if ( !IS_NPC(victim) && xIS_SET(victim->act, PLR_KILLER ) )
act_info.c:    if ( !IS_NPC(victim) && xIS_SET(victim->act, PLR_THIEF  ) )
act_info.c:    if ( !IS_NPC(victim) && xIS_SET(victim->act, PLR_LITTERBUG  ) )
act_info.c:         && xIS_SET(victim->act, ACT_PROTOTYPE) )
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 ( victim->desc
act_info.c:    && ( victim->desc->connected == CON_EDITING
act_info.c:    || ( victim->desc->connected >= CON_NOTE_TO
act_info.c:    &&   victim->desc->connected <= CON_NOTE_FINISH)))
act_info.c:    if ( victim->morph != NULL )
act_info.c:    if ((victim->position == victim->defposition && victim->long_descr[0] != '\0')
act_info.c:    || ( victim->morph && victim->morph->morph
act_info.c:    && victim->morph->morph->defpos == victim->position ) )
act_info.c:        if ( victim->morph != NULL )
act_info.c:                if ( victim->morph->morph != NULL)
act_info.c:                    strcat ( buf, victim->morph->morph->long_desc );
act_info.c:                    strcat ( buf, victim->long_descr );
act_info.c:                if ( !IS_NPC(victim) && !xIS_SET(ch->act, PLR_BRIEF) )
act_info.c:                    strcat( buf, victim->pcdata->title );
act_info.c:            strcat (buf, victim->long_descr);
act_info.c:        if ( victim->morph != NULL && victim->morph->morph != NULL &&
act_info.c:    if ( !IS_NPC(victim) && !xIS_SET(ch->act, PLR_BRIEF) )
act_info.c:        strcat( name, victim->pcdata->lastname ? victim->pcdata->lastname : "" );
act_info.c:        /*        strcat( buf, victim->pcdata->title ); */
act_info.c:    switch ( victim->position )
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:	else if ( ( victim->in_room->sector_type == SECT_UNDERWATER )
act_info.c:	else if ( victim->in_room->sector_type == SECT_UNDERWATER )
act_info.c:	else if ( ( victim->in_room->sector_type == SECT_OCEANFLOOR )
act_info.c:	else if ( victim->in_room->sector_type == SECT_OCEANFLOOR )
act_info.c:	if ( !victim->mount )
act_info.c:	if ( victim->mount == ch )
act_info.c:	if ( victim->in_room == victim->mount->in_room )
act_info.c:	    strcat( buf2, PERS( victim->mount, ch ) );
act_info.c:	if ( !victim->fighting ) 
act_info.c:            /* some bug somewhere.... kinda hackey fix -h */
act_info.c:            if(!victim->mount)
act_info.c:               victim->position = POS_STANDING;
act_info.c:               victim->position = POS_MOUNTED;
act_info.c:	else if ( victim->in_room == victim->fighting->who->in_room )
act_info.c:	    strcat( buf2, PERS( victim->fighting->who, ch ) );
act_info.c:    if (victim->fur_pos > FURNITURE_NONE)
act_info.c:        sprintf( buf3, "%s", victim->pcdata->lastname );
act_info.c:        if (victim->on)
act_info.c:                     victim->pcdata->lastname ? buf3 : "",
act_info.c:                     fur_pos_string(victim->fur_pos),
act_info.c:                     victim->on->short_descr );
act_info.c:    if ( can_see( victim, ch ) && !IS_NPC( ch ) && !xIS_SET( ch->act, PLR_WIZINVIS ) )
act_info.c:    if ( victim->description != NULL )
act_info.c:      if ( victim->morph != NULL && victim->morph->morph != NULL)
act_info.c:        send_to_char ( victim->morph->morph->description , ch );
act_info.c:        send_to_char (victim->description, ch);
act_info.c:        if ( victim->morph != NULL && victim->morph->morph != NULL)
act_info.c:           send_to_char ( victim->morph->morph->description , ch );
act_info.c:    if (victim->fur_pos > FURNITURE_NONE)
act_info.c:	if (victim->on)
act_info.c:			victim->name, pos_string(victim),
act_info.c:			fur_pos_string(victim->fur_pos),
act_info.c:			victim->on->short_descr );
act_info.c:            if( (!IS_NPC(victim)) && (victim->race>0) && (victim->race<MAX_RACE))
act_info.c:		send_to_char(race_table[victim->race]->where_name[iWear], ch);
act_info.c:                       victim->pIndexData->vnum,
act_info.c:                       victim->name );
act_info.c:            ch_printf( ch, "\n\r%s ", victim->name );
act_info.c:                   victim->level,
act_info.c:                   victim->race < MAX_NPC_RACE && victim->race >= 0 ?
act_info.c:                   npc_race[victim->race] : "unknown",
act_info.c:                   victim->class < MAX_NPC_CLASS && victim->class >= 0 ?
act_info.c:                   npc_class[victim->class] : "unknown",
act_info.c:                   victim->level2,
act_info.c:                   victim->class2 < MAX_NPC_CLASS && victim->class2 >= 0 ?
act_info.c:                   npc_class[victim->class2] : "unknown" );
act_info.c:	  victim->sex == 1 ? "his" : victim->sex == 2 ? "her" : "its" );
act_info.c:	show_list_to_char( victim->first_carrying, ch, TRUE, TRUE );
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: * Returns classical DIKU door direction based on text in arg	-Thoric
act_info.c:    else door = -1;
act_info.c:    if( room->compress )
act_info.c:    if( IS_SET( room->room_flags, ROOM_WILDERNESS ) )
act_info.c:        ch_printf( ch, "%s", room->description );
act_info.c:        STRFREE( ch->in_room->name );
act_info.c:        DISPOSE( ch->in_room->description );
act_info.c:    ch_printf( ch, "%s", room->description );
act_info.c:    if( !room->compress )
act_info.c:        ch_printf( ch, "%s", room->description );
act_info.c:    else if (xIS_SET(ch->act, PLR_HOLYLIGHT))
act_info.c:        ch_printf( ch, "&z&WCompressed&w -\n\r%s", room->uncomp_desc );
act_info.c:        DISPOSE( room->uncomp_desc );
act_info.c:        ch_printf( ch, "%s", room->uncomp_desc );
act_info.c:        DISPOSE( room->uncomp_desc );
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:        /* make life easier - shogar */
act_info.c:        switch( ch->in_room->sector_type )
act_info.c:        troom = ch->in_room;
act_info.c:        tarea = troom->area;
act_info.c:        if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_info.c:             ch_printf(ch,"&Y[&W %d",troom->vnum);
act_info.c:             ch_printf(ch,"&Y |&W %s",tarea->filename);
act_info.c:             if (str_cmp(flag_string(tarea->flags, area_flags), ""))
act_info.c:             ch_printf(ch,"&Y |&G %s",flag_string(tarea->flags, area_flags));
act_info.c:             if (str_cmp(flag_string(troom->room_flags,r_flags), ""))
act_info.c:             ch_printf(ch,"&Y |&G %s&Y ]&W\n\r",flag_string(troom->room_flags,r_flags));
act_info.c:             send_to_char( ch->in_room->name, ch );
act_info.c:            ch_printf( ch, "&c[ &W%s ", tarea->filename );
act_info.c:            if( str_cmp( flag_string( tarea->flags, area_flags ), "" ) )
act_info.c:                           flag_string( tarea->flags, area_flags ) );
act_info.c:            if( str_cmp( flag_string( troom->room_flags, r_flags ), "" ) )
act_info.c:                if( troom->compress )
act_info.c:                           flag_string( troom->room_flags, r_flags ) );
act_info.c:            else if( troom->compress )
act_info.c:            ch_printf( ch, "&c[ &W%d &c] &W%s\n\r", troom->vnum, troom->name );
act_info.c:            ch_printf( ch, "%s\n\r", troom->name );
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:	count = obj->count;
act_info.c:	obj->count = 1;
act_info.c:	obj->count = count;
act_info.c:	   show_list_to_char( obj->first_content, ch, TRUE, TRUE );
act_info.c:	switch ( obj->item_type )
act_info.c:	    if ( obj->value[1] <= 0 )
act_info.c:		obj->value[1] <     obj->value[0] / 4
act_info.c:		obj->value[1] < 3 * obj->value[0] / 4
act_info.c:		liq_table[obj->value[2]].liq_color
act_info.c:	    for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_info.c:		if ( pexit->vdir == DIR_PORTAL
act_info.c:		&&   IS_SET(pexit->exit_info, EX_PORTAL) )
act_info.c:		    if ( room_is_private( pexit->to_room )
act_info.c:		    original = ch->in_room;
act_info.c:		    char_to_room( ch, pexit->to_room );
act_info.c:	    if ( IS_SET(obj->value[1], CONT_CLOSED) )
act_info.c:	    count = obj->count;
act_info.c:	    obj->count = 1;
act_info.c:	    if ( obj->item_type == ITEM_CONTAINER )
act_info.c:	    obj->count = count;
act_info.c:	    show_list_to_char( obj->first_content, ch, TRUE, TRUE );
act_info.c:    if ( (pdesc=get_extra_descr(arg1, ch->in_room->first_extradesc)) != NULL )
act_info.c:	if ( IS_SET(pexit->exit_info, EX_CLOSED)
act_info.c:	&&  !IS_SET(pexit->exit_info, EX_WINDOW) )
act_info.c:	    if ( (IS_SET(pexit->exit_info, EX_SECRET)
act_info.c:	    ||    IS_SET(pexit->exit_info, EX_DIG)) && door != -1 )
act_info.c:		act( AT_PLAIN, "The $d is closed.", ch, NULL, pexit->keyword, TO_CHAR );
act_info.c:	if ( IS_SET( pexit->exit_info, EX_BASHED ) )
act_info.c:	    act(AT_RED, "The $d has been bashed from its hinges!",ch, NULL, pexit->keyword, TO_CHAR);
act_info.c:	if ( pexit->description && pexit->description[0] != '\0' )
act_info.c:	    send_to_char( pexit->description, ch );
act_info.c:	 * Ability to look into the next room			-Thoric
act_info.c:	if ( pexit->to_room
act_info.c:	||   IS_SET( pexit->exit_info, EX_xLOOK )
act_info.c:	    if ( !IS_SET( pexit->exit_info, EX_xLOOK )
act_info.c:			    percent = 55;	/* 95 was too good -Thoric */
act_info.c:	    if ( room_is_private( pexit->to_room )
act_info.c:	    original = ch->in_room;
act_info.c:	    char_to_room( ch, pexit->to_room );
act_info.c:    if ( door != -1 )
act_info.c:    /* finally fixed the annoying look 2.obj desc bug	-Thoric */
act_info.c:    for ( cnt = 0, obj = ch->last_carrying; obj; obj = obj->prev_content )
act_info.c:	/* hiscore shtuff -- Scion */
act_info.c:	} /* end hiscore shtuff -- Scion */
act_info.c:	    if ( (pdesc=get_extra_descr(arg, obj->first_extradesc)) != NULL )
act_info.c:		if ( (cnt += obj->count) < number )
act_info.c:	    if ( (pdesc=get_extra_descr(arg, obj->pIndexData->first_extradesc)) != NULL )
act_info.c:		if ( (cnt += obj->count) < number )
act_info.c:	    if ( nifty_is_name_prefix( arg, obj->name ) )
act_info.c:		if ( (cnt += obj->count) < number )
act_info.c:		pdesc = get_extra_descr( obj->name, obj->pIndexData->first_extradesc );
act_info.c:		  pdesc = get_extra_descr( obj->name, obj->first_extradesc );
act_info.c:    for ( obj = ch->in_room->last_content; obj; obj = obj->prev_content )
act_info.c:	/* hiscore shtuff -- Scion */
act_info.c:	    if ( (pdesc=get_extra_descr(arg, obj->first_extradesc)) != NULL )
act_info.c:		if ( (cnt += obj->count) < number )
act_info.c:	    if ( (pdesc=get_extra_descr(arg, obj->pIndexData->first_extradesc)) != NULL )
act_info.c:		if ( (cnt += obj->count) < number )
act_info.c:	    if ( nifty_is_name_prefix( arg, obj->name ) )
act_info.c:		if ( (cnt += obj->count) < number )
act_info.c:		pdesc = get_extra_descr( obj->name, obj->pIndexData->first_extradesc );
act_info.c:		  pdesc = get_extra_descr( obj->name, obj->first_extradesc );
act_info.c:        feet =  victim->height / 12;
act_info.c:        inches = victim->height % 12;
act_info.c:        sprintf( buf, "%s is %d'%d\" and weighs %d pounds.\n\r", PERS(victim, ch), feet, inches, victim->weight );
act_info.c:        sprintf(buf, "%s is %s, %s, %s %s haired with %s eyes and %s skin.\n\r", victim->sex == 0
act_info.c:                ? "It" : victim->sex == 1 ? "He" : "She", victim->pcdata->ch_height,
act_info.c:                victim->pcdata->ch_build, victim->pcdata->hair_length, victim->pcdata->hair_color,
act_info.c:                victim->pcdata->eye_color, victim->pcdata->skin_tone);
act_info.c:        feet =  victim->height / 12;
act_info.c:        inches = victim->height % 12;
act_info.c:        sprintf( buf, "You are %d'%d\" and weigh %d pounds.\n\r",  feet, inches, victim->weight );
act_info.c:    if ( victim->max_hit > 0 )
act_info.c:        percent = ( 100 * victim->hit ) / victim->max_hit;
act_info.c:        percent = -1;
act_info.c:-- Narn, winter '96
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:                           victim->pIndexData->vnum, victim->name );
act_info.c:                ch_printf( ch, "%s ", victim->name );
act_info.c:                       victim->level,
act_info.c:                       victim->race < MAX_NPC_RACE && victim->race >= 0 ?
act_info.c:                       npc_race[victim->race] : "unknown",
act_info.c:                       victim->class < MAX_NPC_CLASS && victim->class >= 0 ?
act_info.c:                       npc_class[victim->class] : "unknown",
act_info.c:                       victim->level2,
act_info.c:                       victim->class2 < MAX_NPC_CLASS && victim->class2 >= 0 ?
act_info.c:                       npc_class[victim->class2] : "unknown" );
act_info.c:	    if ( board->num_posts )
act_info.c:		ch_printf( ch, "There are about %d notes posted here.  Type 'note list' to list them.\n\r", board->num_posts );
act_info.c:	switch ( obj->item_type )
act_info.c:	    if ( obj->value[1] == 0 )
act_info.c:	      obj->value[1] = obj->value[0];
act_info.c:	    if ( obj->value[1] == 0 )
act_info.c:	      obj->value[1] = 1;
act_info.c:	    dam = (sh_int) ((obj->value[0] * 10) / obj->value[1]);
act_info.c:	    dam = INIT_WEAPON_CONDITION - obj->value[0];
act_info.c:	    dam = obj->value[2];
act_info.c:	    if ( obj->timer > 0 && obj->value[1] > 0 )
act_info.c:	      dam = (obj->timer * 10) / obj->value[1];
act_info.c:	    if ( obj->item_type == ITEM_FOOD )	
act_info.c:	    if ( IS_SET( obj->value[0], TRIG_UP ) )
act_info.c:	    if ( IS_SET( obj->value[0], TRIG_UP ) )
act_info.c:		sh_int timerfrac = obj->timer;
act_info.c:		if ( obj->item_type == ITEM_CORPSE_PC )
act_info.c:		timerfrac = (int)obj->timer / 8 + 1; 
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( pexit->to_room )
act_info.c:                if(  IS_SET( pexit->exit_info, EX_CLOSED) &&
act_info.c:                  (  IS_SET( pexit->exit_info, EX_WINDOW) ||
act_info.c:                     IS_SET(pexit->exit_info, EX_ISDOOR)))
act_info.c:                    sprintf( buf+strlen(buf), " %s&c[ &W%-5d &c| &W(%-9s) &c] - %s\n\r",
act_info.c:                             pexit->to_room->vnum,
act_info.c:                             capitalize( dir_name[pexit->vdir] ),
act_info.c:                             pexit->to_room->name );
act_info.c:                    sprintf( buf+strlen(buf), " %s&c[ &W%-5d &c| &W%-11s &c] - %s\n\r",
act_info.c:                             pexit->to_room->vnum,
act_info.c:                             capitalize( dir_name[pexit->vdir] ),
act_info.c:                             pexit->to_room->name );
act_info.c:            /* make life easier - shogar */
act_info.c:            if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_info.c:                sprintf(buf+strlen(buf),"[%d]-",pexit->to_room->vnum); */
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:            if ( pexit->to_room )
act_info.c:                if( !IS_SET(pexit->exit_info, EX_CLOSED)
act_info.c:                && (!IS_SET(pexit->exit_info, EX_WINDOW)
act_info.c:                ||   IS_SET(pexit->exit_info, EX_ISDOOR))
act_info.c:                &&  !IS_SET(pexit->exit_info, EX_HIDDEN) )
act_info.c:                    sprintf( buf+strlen(buf), " %s&c[ &W%-5d &c| &W(%-9s) &c] - %s\n\r",
act_info.c:                             pexit->to_room->vnum,
act_info.c:                             capitalize( dir_name[pexit->vdir] ),
act_info.c:                             pexit->to_room->name );
act_info.c:                    sprintf( buf+strlen(buf), " %s&c[ &W%-5d &c| &W%-11s &c] - %s\n\r",
act_info.c:                             pexit->to_room->vnum,
act_info.c:                             capitalize( dir_name[pexit->vdir] ),
act_info.c:                             pexit->to_room->name );
act_info.c:            if ( pexit->to_room
act_info.c:            &&  !IS_SET(pexit->exit_info, EX_CLOSED)
act_info.c:            && (!IS_SET(pexit->exit_info, EX_WINDOW)
act_info.c:            ||   IS_SET(pexit->exit_info, EX_ISDOOR))
act_info.c:            &&  !IS_SET(pexit->exit_info, EX_HIDDEN) )
act_info.c:                    strcat( buf, dir_name[pexit->vdir] );
act_info.c:                    sprintf( buf + strlen(buf), "%-5s - %s\n\r",
act_info.c:                             capitalize( dir_name[pexit->vdir] ),
act_info.c:                             room_is_dark( pexit->to_room )
act_info.c:                             : pexit->to_room->name );
act_info.c:    else if ( fAuto && !xIS_SET( ch->act, PLR_HOLYLIGHT ) )
act_info.c: *		<combo-phrase> and <single-phrase>.
act_info.c: * Where the combo-phrase describes either the precipitation and
act_info.c: * temperature or the wind and temperature. The single-phrase
act_info.c: * combo-phrase.
act_info.c: * Fireblade - Under Construction
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: * ie: online help editing				-Thoric
act_info.c:	lev = -2;
act_info.c:    for ( pHelp = first_help; pHelp; pHelp = pHelp->next )
act_info.c:	if ( pHelp->level > get_trust( ch ) )
act_info.c:	if ( lev != -2 && pHelp->level != lev )
act_info.c:	if ( is_name( argall, pHelp->keyword ) )
act_info.c:    /* Make newbies do a help start. --Shaddai */ 
act_info.c:	SET_BIT(ch->pcdata->flags, PCFLAG_HELPSTART);
act_info.c:    if ( pHelp->level >= 0 && str_cmp( argument, "imotd" ) )
act_info.c:	pager_printf( ch, "&c[ &wKeyword(s): &G%s &c| &wLevel: &G%d &c]", pHelp->keyword, pHelp->level );
act_info.c:	if ( pHelp->text[0] == '.' )
act_info.c:	send_to_pager_color( pHelp->text+1, ch );
act_info.c:	send_to_pager_color( pHelp->text  , ch );
act_info.c: * Help editor							-Thoric
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:	  if ( help_greeting == pHelp->text )
act_info.c:	  STRFREE( pHelp->text );
act_info.c:	  pHelp->text = copy_buffer( ch );
act_info.c:		help_greeting = pHelp->text;
act_info.c:	pHelp->keyword = STRALLOC( strupper(argument) );
act_info.c:	pHelp->text    = STRALLOC( "" );
act_info.c:	pHelp->level   = lev;
act_info.c:    ch->substate = SUB_HELP_EDIT;
act_info.c:    ch->dest_buf = pHelp;
act_info.c:    start_editing( ch, pHelp->text );
act_info.c: * Stupid leading space muncher fix				-Thoric
act_info.c:	for ( pHelp = first_help; pHelp; pHelp = pHelp->next )
act_info.c:		pHelp->level, pHelp->keyword, help_fix(pHelp->text) );
act_info.c:	STRFREE( pHelp->text );
act_info.c:	STRFREE( pHelp->keyword );
act_info.c:	pHelp->level = atoi( arg2 );
act_info.c:	STRFREE( pHelp->keyword );
act_info.c:	pHelp->keyword = STRALLOC( strupper(arg2) );
act_info.c: * Show help topics in a level range				-Thoric
act_info.c:    minlimit = maxlimit >= LEVEL_GREATER ? -1 : 0;
act_info.c:    for ( cnt = 0, help = first_help; help; help = help->next )
act_info.c:	if ( help->level >= min && help->level <= max
act_info.c:	&&  (!idx || nifty_is_name_prefix(idx, help->keyword)) )
act_info.c:	    pager_printf( ch, "&c  %3d &w%s\n\r", help->level, help->keyword );
act_info.c:    imc_whoreply_start(from->name);
act_info.c:    for (d = descriptor_list; d; d = d->next)
act_info.c:        victim = ( d->original ) ? d->original : d->character;
act_info.c:        if (d->connected != CON_PLAYING || !imc_visible(from, imc_getdata(victim)) ||
act_info.c:        sprintf( class_text, "%s%2d %s", NOT_AUTHED(victim) ? "N" : " ", victim->level,
act_info.c:                 class_table[victim->class]->who_name );
act_info.c:        switch ( victim->level )
act_info.c:        case MAX_LEVEL -  0: class = "Owner";        break;
act_info.c:        case MAX_LEVEL -  1: class = "Admin";        break;
act_info.c:        case MAX_LEVEL -  2: class = "Eternal       ";  break;
act_info.c:        case MAX_LEVEL -  3: class = "Ancient";         break;
act_info.c:        case MAX_LEVEL -  4: class = "Exalted God";     break;
act_info.c:        case MAX_LEVEL -  5: class = "Ascendant God";   break;
act_info.c:        case MAX_LEVEL -  6: class = "Greater God";     break;
act_info.c:        case MAX_LEVEL -  7: class = "God";             break;
act_info.c:        case MAX_LEVEL -  8: class = "Lesser God";      break;
act_info.c:        case MAX_LEVEL -  9: class = "Immortal";        break;
act_info.c:        case MAX_LEVEL - 10: class = "Demi God";        break;
act_info.c:        case MAX_LEVEL - 11: class = "Savior";          break;
act_info.c:        case MAX_LEVEL - 12: class = "Creator";         break;
act_info.c:        case MAX_LEVEL - 13: class = "Acolyte";         break;
act_info.c:        case MAX_LEVEL - 14: class = "Neophyte";        break;
act_info.c:        case MAX_LEVEL - 15: class = "Avatar";          break;
act_info.c:        if ( !str_cmp( victim->name, sysdata.guild_overseer ) )
act_info.c:        else if ( !str_cmp( victim->name, sysdata.guild_advisor ) )
act_info.c:        else if ( victim->pcdata->rank && victim->pcdata->rank[0] != '\0' )
act_info.c:            class = victim->pcdata->rank;
act_info.c:        if ( victim->pcdata->clan )
act_info.c:            CLAN_DATA *pclan = victim->pcdata->clan;
act_info.c:            if ( pclan->clan_type == CLAN_GUILD )
act_info.c:            if ( pclan->clan_type == CLAN_ORDER )
act_info.c:                if ( !str_cmp( victim->name, pclan->deity ) )
act_info.c:                else if ( !str_cmp( victim->name, pclan->leader ) )
act_info.c:                else if ( !str_cmp( victim->name, pclan->number1 ) )
act_info.c:                else if ( !str_cmp( victim->name, pclan->number2 ) )
act_info.c:            else if ( pclan->clan_type == CLAN_GUILD )
act_info.c:                if ( !str_cmp( victim->name, pclan->leader ) )
act_info.c:                if ( !str_cmp( victim->name, pclan->number1 ) )
act_info.c:                if ( !str_cmp( victim->name, pclan->number2 ) )
act_info.c:                if ( !str_cmp( victim->name, pclan->deity ) )
act_info.c:                else if ( !str_cmp( victim->name, pclan->leader ) )
act_info.c:                else if ( !str_cmp( victim->name, pclan->number1 ) )
act_info.c:                else if ( !str_cmp( victim->name, pclan->number2 ) )
act_info.c:            strcat( clan_name, pclan->name );
act_info.c:            if ( pclan->clan_type == CLAN_GUILD )
act_info.c:        if ( victim->pcdata->council )
act_info.c:            if (  victim->pcdata->council->head2 == NULL )
act_info.c:                if (!str_cmp (victim->name, victim->pcdata->council->head))
act_info.c:                if (!str_cmp (victim->name, victim->pcdata->council->head)
act_info.c:                    || !str_cmp ( victim->name, victim->pcdata->council->head2) )
act_info.c:                    strcat (council_name, "Co-Head of ");
act_info.c:            strcat( council_name, victim->pcdata->council_name );
act_info.c:        if ( victim->pcdata->council2 )
act_info.c:            if (  victim->pcdata->council2->head2 == NULL )
act_info.c:                if (!str_cmp (victim->name, victim->pcdata->council2->head))
act_info.c:                if (!str_cmp (victim->name, victim->pcdata->council2->head)
act_info.c:                    || !str_cmp ( victim->name, victim->pcdata->council2->head2) )
act_info.c:                    strcat (council2_name, "Co-Head of ");
act_info.c:            strcat( council2_name, victim->pcdata->council2_name );
act_info.c: if ( xIS_SET victim->act, PLR_WIZINVIS) )
act_info.c:	  sprintf( invis_str, "&R(&W%d&R) &w", victim->pcdata->wizinvis );
act_info.c:	  (fGroup ? whogr->indent : 0), "",
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:          (victim->desc && victim->desc->connected) ? "&B[&WWRITING&B]&w " : "",
act_info.c:          xIS_SET(victim->act, PLR_AFK) ? "&B[&WAFK&B]&w " : "",
act_info.c:                 victim->pcdata->extraname ? victim->pcdata->extraname : "",
act_info.c:                 victim->pcdata->lastname ? victim->pcdata->lastname : "",
act_info.c:                 victim->pcdata->title,
act_info.c:          xIS_SET(victim->act, PLR_ATTACKER) ? " &R(&WATTACKER&R)&w" : "",
act_info.c:          xIS_SET(victim->act, PLR_KILLER) ? " &R(&WKILLER&R)&w" : "",
act_info.c:          xIS_SET(victim->act, PLR_THIEF)  ? " &R(&WTHIEF&R)&w"  : "" );
act_info.c:                 (victim->desc && victim->desc->connected) ? " &Y[&WWRITING&Y]&G" : "",
act_info.c:                 xIS_SET(victim->act, PLR_AFK) ? " &Y[&WAWAY&Y]&G " : "",
act_info.c:                 xIS_SET(victim->act, PLR_ATTACKER) ? " &R(&W^zATTACKER^x&R)&G " : "",
act_info.c:                 xIS_SET(victim->act, PLR_KILLER) ? " &R(&W^zKILLER^x&R)&G " : "",
act_info.c:                 xIS_SET(victim->act, PLR_THIEF)  ? " &R(&W^zTHIEF^x&R)&G "  : ""
act_info.c: * New do_who with WHO REQUEST, clan, race and homepage support.  -Thoric
act_info.c: * different lists for morts and imms -- Scion
act_info.c:  for (whogr = first; whogr; whogr = whogr->next)
act_info.c:    if (whogr->d == d)
act_info.c:    else if (whogr->follower && (whogr_t = find_whogr(d, whogr->follower)))
act_info.c:  for ( ; whogr; whogr = whogr->next )
act_info.c:    if (whogr->follower)
act_info.c:          (whogr->d->original ? whogr->d->original : whogr->d->character);
act_info.c:      indent_whogr(looker, whogr->follower, nlev);
act_info.c:    whogr->indent = ilev;
act_info.c:/* This a great big mess to backwards-structure the ->leader character
act_info.c:        first_whogr = whogr->next;
act_info.c:    for (d = last_descriptor; d; d = d->prev)
act_info.c:        if((d->connected != CON_PLAYING
act_info.c:        &&  d->connected != CON_EDITING)
act_info.c:        || (d->connected <= CON_NOTE_TO
act_info.c:        &&  d->connected >= CON_NOTE_FINISH))
act_info.c:        wch = (d->original ? d->original : d->character);
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:                last_whogr->next = whogr;
act_info.c:            whogr->next = NULL;
act_info.c:            whogr->follower = whogr->l_follow = NULL;
act_info.c:            whogr->d = d;
act_info.c:            whogr->indent = 0;
act_info.c:        for (d = last_descriptor; d; d = d->prev)
act_info.c:            if((d->connected != CON_PLAYING
act_info.c:            &&  d->connected != CON_EDITING)
act_info.c:            || ( d->connected <= CON_NOTE_TO
act_info.c:            &&   d->connected >= CON_NOTE_FINISH))
act_info.c:            wch = (d->original ? d->original : d->character);
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 (!whogr_t->l_follow)
act_info.c:                    whogr_t->follower = whogr_t->l_follow = whogr;
act_info.c:                    whogr_t->l_follow->next = whogr;
act_info.c:                    whogr_t->l_follow = whogr;
act_info.c:                whogr->next = NULL;
act_info.c:                whogr->follower = whogr->l_follow = NULL;
act_info.c:                whogr->d = d;
act_info.c:                whogr->indent = 0;
act_info.c:        if (whogr->l_follow)
act_info.c:            whogr->l_follow->next = whogr;
act_info.c:            whogr->l_follow = NULL;
act_info.c:                whogr_t->next = whogr = whogr->follower;
act_info.c:                first_whogr = whogr = whogr->follower;
act_info.c:            whogr = whogr->next;
act_info.c:     * types "who" with no arguments.           --Gorog
act_info.c:                    if( !str_cmp( arg, class_table[iClass]->who_name ) )
act_info.c:		    if ( !str_cmp( arg, race_table[iRace]->race_name ) )
act_info.c:        d = whogr->d;
act_info.c:    for ( ; d; whogr_p = whogr, whogr = (fGroup ? whogr->next : NULL),
act_info.c:    d = (fGroup ? (whogr ? whogr->d : NULL) : d->prev))
act_info.c:        if(((d->connected != CON_PLAYING
act_info.c:        &&   d->connected != CON_EDITING)
act_info.c:        ||  (d->connected <= CON_NOTE_TO
act_info.c:        &&   d->connected >= CON_NOTE_FINISH))
act_info.c:	||   !can_see( ch, d->character ) || d->original)
act_info.c:	wch   = d->original ? d->original : d->character;
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:	   (!whogr_p || !whogr_p->indent))
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:	case MAX_LEVEL -  0: class = "&ROwner";	          break;
act_info.c:	case MAX_LEVEL -  1: class = "&RHead Imp.";	  break;
act_info.c:	case MAX_LEVEL -  2: class = "&RImplementor";	  break;
act_info.c:	case MAX_LEVEL -  3: class = "&RAsst. Imp.";	  break;
act_info.c:	case MAX_LEVEL -  4: class = "&RAdmin.";  	  break;
act_info.c:	case MAX_LEVEL -  5: class = "&cCoder";		  break;
act_info.c:	case MAX_LEVEL -  6: class = "&cAdmin Rep.";	  break;
act_info.c:	case MAX_LEVEL -  7: class = "&cMaster Bldr";	  break;
act_info.c:	case MAX_LEVEL -  8: class = "&cGreater Bldr";	  break;
act_info.c:	case MAX_LEVEL -  9: class = "&cBuilder";	  break;
act_info.c:	case MAX_LEVEL - 10: class = "&cLesser Bldr";	  break;
act_info.c:	case MAX_LEVEL - 11: class = "&cNew Builder";	  break;
act_info.c:	case MAX_LEVEL - 12: class = "&cGeneral Staff";	  break;
act_info.c:	case MAX_LEVEL - 13: class = "&BImm Family";	  break;
act_info.c:	case MAX_LEVEL - 14: class = "&BMUD Guest";       break;
act_info.c:	case MAX_LEVEL - 15: class = "&BAmbassador";  	  break;
act_info.c:	case MAX_LEVEL - 16: class = "&YDemi-God";	  break;
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) && !IS_IMMORTAL(ch) )
act_info.c:	if ( wch->pcdata->clan )
act_info.c:            CLAN_DATA *pclan = wch->pcdata->clan;
act_info.c:            if ( pclan->clan_type == CLAN_GUILD )
act_info.c:            else if ( pclan->clan_type == CLAN_ORDER )
act_info.c:            if ( pclan->clan_type == CLAN_ORDER )
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:            else if ( pclan->clan_type == CLAN_GUILD )
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:            strcat( clan_name, pclan->name );
act_info.c:            if ( pclan->clan_type == CLAN_GUILD )
act_info.c:            else if ( pclan->clan_type == CLAN_ORDER )
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, "Co-Head of ");
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, "Co-Head of ");
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:            for( dcheck = first_descriptor ; dcheck ; dcheck = dcheck->next )
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:                     (multi ? "&RM&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:        cur_who->text = str_dup( buf );
act_info.c:                cur_who->type = WT_GUEST;
act_info.c:             cur_who->type = WT_STAFF;
act_info.c:                 cur_who->type = WT_ADMIN;
act_info.c:            if ( wch->leader || (whogr_p && whogr_p->indent) )
act_info.c:                cur_who->type = WT_GROUPED;
act_info.c:                cur_who->type = WT_GROUPWHO;
act_info.c:            cur_who->type = WT_DEADLY;
act_info.c:            cur_who->type = WT_MORTAL;
act_info.c:        switch ( cur_who->type )
act_info.c:            cur_who->next = first_mortal;
act_info.c:            cur_who->next = first_deadly;
act_info.c:            cur_who->next = first_grouped;
act_info.c:            cur_who->next = first_groupwho;
act_info.c:            cur_who->next = first_guest;
act_info.c:             cur_who->next = first_staff;
act_info.c:            cur_who->next = first_admin;
act_info.c:     * Two extras now for grouped and groupwho (wanting group). -- Alty
act_info.c:            amount = 78-strlen_color( buf ); /* Determine amount to put in
act_info.c:            send_to_pager_color( "&O-----------------------------{-=-[ ",ch);
act_info.c:            send_to_pager_color("&O]-=-}------------------------------&w\n\r\n\r",ch);
act_info.c:            send_to_pager_color( "&O-----------------------------{-=-[ &WMortals &O]-=-}------------------------------&w\n\r\n\r",ch);
act_info.c:            fprintf( whoout, cur_who->text );
act_info.c:            send_to_pager( cur_who->text, ch );
act_info.c:        next_who = cur_who->next;
act_info.c:        DISPOSE( cur_who->text );
act_info.c: *							--Callidyrr
act_info.c:        fprintf( whoout, "\n\r&r----------------------------{-=-[&W Deadly Mortals &r]-=-}------------------------\n\r\n\r" );
act_info.c:        send_to_pager_color( "\n\r&r--------------------------{-=-[ ",ch);
act_info.c:        send_to_pager_color("&r]-=-}--------------------------&w\n\r\n\r",ch );
act_info.c:            fprintf( whoout, cur_who->text );
act_info.c:            send_to_pager( cur_who->text, ch );
act_info.c:        next_who = cur_who->next;
act_info.c:        DISPOSE( cur_who->text );
act_info.c:        fprintf( whoout, "\n\r-------------------------{-=-[ GROUPED CHARACTERS ]-=-}-----------------------\n\r\n\r" );
act_info.c:        send_to_pager( "\n\r-------------------------{-=-[ GROUPED CHARACTERS ]-=-}-----------------------\n\r\n\r", ch );
act_info.c:         fprintf( whoout, cur_who->text );
act_info.c:        send_to_pager( cur_who->text, ch );
act_info.c:        next_who = cur_who->next;
act_info.c:        DISPOSE( cur_who->text );
act_info.c:            fprintf( whoout, "\n\r&Y---------------------------{-=-[&W WANTING GROUP &Y]-=-}--------------------------\n\r\n\r" );
act_info.c:            send_to_pager_color( "\n\r&Y---------------------------{-=-[",ch);
act_info.c:            send_to_pager_color("^x&Y]-=-}--------------------------&w\n\r\n\r",ch );
act_info.c:            fprintf( whoout, cur_who->text );
act_info.c:            send_to_pager( cur_who->text, ch );
act_info.c:        next_who = cur_who->next;
act_info.c:        DISPOSE( cur_who->text );
act_info.c:            fprintf( whoout, "\n\r&B-----------------------------{-=-[&W  Guests &B]-=-}-------------------------------\n\r\n\r" );
act_info.c:            send_to_pager_color( "\n\r&B------------------------------{-=-[",ch);
act_info.c:            send_to_pager_color("&B]-=-}------------------------------&w\n\r\n\r",ch );
act_info.c:            fprintf( whoout, cur_who->text );
act_info.c:	    send_to_pager( cur_who->text, ch );
act_info.c:        next_who = cur_who->next;
act_info.c:        DISPOSE( cur_who->text );
act_info.c:	    fprintf( whoout, "\n\r&c------------------------------[&W Resident Staff &c]------------------------------\n\r\n\r" );
act_info.c:	    send_to_pager_color( "\n\r&c------------------------------[",ch);
act_info.c:		send_to_pager_color("&c]------------------------------&w\n\r\n\r", ch );
act_info.c:	    fprintf( whoout, cur_who->text );
act_info.c:	    send_to_pager( cur_who->text, ch );
act_info.c:	next_who = cur_who->next;
act_info.c:	DISPOSE( cur_who->text );
act_info.c:            fprintf( whoout, "\n\r&R----------------------------{-=-[ &WImmortals &R]-=-}-----------------------------\n\r\n\r" );
act_info.c:            send_to_pager_color( "\n\r&R----------------------------{-=-[",ch);
act_info.c:            send_to_pager_color("&R]-=-}-----------------------------&w\n\r\n\r", ch );
act_info.c:	    fprintf( whoout, cur_who->text );
act_info.c:	    send_to_pager( cur_who->text, ch );
act_info.c:	next_who = cur_who->next;
act_info.c:	DISPOSE( cur_who->text );
act_info.c:/* This command SUCKS! It's misleading enough to be dangerous to morts. -- Scion
act_info.c:	for ( obj2 = ch->first_carrying; obj2; obj2 = obj2->next_content )
act_info.c:	    if ( obj2->wear_loc != WEAR_NONE
act_info.c:	    &&   obj1->item_type == obj2->item_type
act_info.c:	    && ( obj1->wear_flags & obj2->wear_flags & ~ITEM_TAKE) != 0 )
act_info.c:    else if ( obj1->item_type != obj2->item_type )
act_info.c:	switch ( obj1->item_type )
act_info.c:	    value1 = obj1->value[0];
act_info.c:	    value2 = obj2->value[0];
act_info.c:	    value1 = obj1->value[1] + obj1->value[2];
act_info.c:	    value2 = obj2->value[1] + obj2->value[2];
act_info.c:        pager_printf( ch, "\n\rPlayers near you in %s:\n\r", ch->in_room->area->name );
act_info.c:	for ( d = first_descriptor; d; d = d->next )
act_info.c:            if ( (d->connected == CON_PLAYING || d->connected == CON_EDITING
act_info.c:            || ( d->connected >= CON_NOTE_TO
act_info.c:            &&   d->connected <= CON_NOTE_FINISH))
act_info.c:	    && ( victim = d->character ) != NULL
act_info.c:	    &&   victim->in_room
act_info.c:	    &&   victim->in_room->area == ch->in_room->area
act_info.c:		pager_printf_color( ch, "&P%-13s  ", victim->name );
act_info.c:		if ( CAN_PKILL( victim ) && victim->pcdata->clan )
act_info.c:		  pager_printf_color( ch, "%-18s\t", victim->pcdata->clan->badge );
act_info.c:		pager_printf_color( ch, "&P%s\n\r", victim->in_room->name );
act_info.c:	for ( victim = first_char; victim; victim = victim->next )
act_info.c:	    if ( victim->in_room
act_info.c:	    &&   victim->in_room->area == ch->in_room->area
act_info.c:	    &&   is_name( arg, victim->name ) )
act_info.c:		pager_printf( ch, "%-28s %s\n\r",
act_info.c:		    PERS(victim, ch), victim->in_room->name );
act_info.c:    diff = victim->level - ch->level;
act_info.c:	 if ( diff <= -10 ) msg = "You are far more experienced than $N.";
act_info.c:    else if ( diff <=  -5 ) msg = "$N is not nearly as experienced as you.";
act_info.c:    else if ( diff <=  -2 ) msg = "You are more experienced than $N.";
act_info.c:    diff = (int) (victim->max_hit - ch->max_hit) / 6;
act_info.c:	 if ( diff <= -200) msg = "$N looks like a feather!";
act_info.c:    else if ( diff <= -150) msg = "You could kill $N with your hands tied!";
act_info.c:    else if ( diff <= -100) msg = "Hey! Where'd $N go?";
act_info.c:    else if ( diff <=  -50) msg = "$N is a wimp.";
act_info.c: * (Uses an is_name check). -- Altrag
act_info.c:    if ( ch->level < 2 )
act_info.c:	    if ( !skill_table[sn]->name )
act_info.c:	    if ( strcmp(skill_table[sn]->name, "reserved") == 0
act_info.c:                send_to_pager_color( " &c---------------------------------[&W Practice &c]---------------------------------&w\n\r", ch);
act_info.c:	    if ( skill_table[sn]->type != lasttype )
act_info.c:		pager_printf_color( ch, " &c---------------------------------- &W%ss&c ----------------------------------&w\n\r",
act_info.c:			 skill_tname[skill_table[sn]->type]);
act_info.c:	    lasttype = skill_table[sn]->type;
act_info.c:	    && ( skill_table[sn]->guild != CLASS_NONE 
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:                pager_printf( ch, "&W%20.20s", skill_table[sn]->name );
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:                pager_printf( ch, "&Y%20.20s", skill_table[sn]->name );
act_info.c:            else if ( ch->pcdata->learned[sn] > 0)
act_info.c:                pager_printf( ch, "&R%20.20s", skill_table[sn]->name );
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 ( IS_NPC(mob) && xIS_SET(mob->act, ACT_PRACTICE) )
act_info.c:	if ( ch->practice <= 0 )
act_info.c:        if( ch->level2 == -1 )
act_info.c:            && ( ( sn == -1 )
act_info.c:            && ch->level < skill_table[sn]->skill_level[ch->class]
act_info.c:            /* OUT FOR THIS PORT -SHADDAI
act_info.c:            &&  ch->level < skill_table[sn]->race_level[ch->race]
act_info.c:            && ( ( sn == -1 )
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:            /* OUT FOR THIS PORT -SHADDAI
act_info.c:             &&  ch->level < skill_table[sn]->race_level[ch->race]
act_info.c:	if ( is_name( skill_tname[skill_table[sn]->type], CANT_PRAC ) )
act_info.c:	if ( skill_table[sn]->teachers && skill_table[sn]->teachers[0] != '\0' )
act_info.c:	    sprintf( buf, "%d", mob->pIndexData->vnum );
act_info.c:	    if ( !is_name( buf, skill_table[sn]->teachers ) )
act_info.c: * Guild checks - right now, cant practice guild skills - done on 
act_info.c:	&&    skill_table[sn]->guild != CLASS_NONE)
act_info.c:	if ( !IS_NPC(ch) && skill_table[sn]->guild != CLASS_NONE 
act_info.c:	     && ch->pcdata->clan->class != skill_table[sn]->guild )
act_info.c:	if ( !IS_NPC(ch) && skill_table[sn]->guild != CLASS_NONE)
act_info.c:	if ( mob->level < skill_table[sn]->skill_level[ch->class]
act_info.c:	||   mob->level < skill_table[sn]->skill_level[mob->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:		skill_table[sn]->name );
act_info.c:	    ch->practice--;
act_info.c:	    ch->pcdata->learned[sn] += int_app[get_curr_int(ch)].learn;
act_info.c:		    ch, NULL, skill_table[sn]->name, TO_CHAR );
act_info.c:		    ch, NULL, skill_table[sn]->name, TO_ROOM );
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:/* This should stop all the mistyped password problems --Shaddai */
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:	for ( social = social_index[iHash]; social; social = social->next )
act_info.c:	    pager_printf( ch, "%-12s", social->name );
act_info.c:	    for ( command = command_hash[hash]; command; command = command->next )
act_info.c:		if ( command->level <  LEVEL_HERO
act_info.c:		&&   command->level <= get_trust( ch )
act_info.c:		&&  (command->name[0] != 'm'
act_info.c:		&&   command->name[1] != 'p') )
act_info.c:		    pager_printf( ch, "%-12s", command->name );
act_info.c:	    for ( command = command_hash[hash]; command; command = command->next )
act_info.c:		if ( command->level <  LEVEL_HERO
act_info.c:		&&   command->level <= get_trust( ch )
act_info.c:		&&  !str_prefix(argument, command->name)
act_info.c:		&&  (command->name[0] != 'm'
act_info.c:		&&   command->name[1] != 'p') )
act_info.c:		    pager_printf( ch, "%-12s", command->name );
act_info.c:        if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_SILENCE) )
act_info.c:	/* Channels everyone sees regardless of affiliation --Blodkai */
act_info.c:	ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_RACETALK )?
act_info.c:						" &g-racetalk" );
act_info.c:        ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_CHAT )    ?
act_info.c:						" &g-chat" );
act_info.c:          ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_AUCTION ) ?
act_info.c:						" &g-auction" );
act_info.c:        ch_printf_color( ch, "%s",   !IS_SET( ch->deaf, CHANNEL_QUEST )   ?
act_info.c:						" &g-quest" );
act_info.c:        ch_printf_color( 

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

Site Stats

Snippets: 1791
Codebases: 571