Version, stock SMAUG FUSS.
I've been trying to add color into the channels so that just the channel name is in a different color with the output text in another.
In other words Immtalk would come out as say.. Blue and the message text comes out as yellow.
Thoughts?
This is what my code looks like right now:
case CHANNEL_IMMTALK:
case CHANNEL_AVTALK:
sprintf( buf, "<Immortal: $n %c $t", channel == CHANNEL_IMMTALK ? '>' : ':' );
position = ch->position;
ch->position = POS_STANDING;
act( AT_IMMORT, buf, ch, argument, NULL, TO_CHAR );
ch->position = position;
break;
}
I've been trying to add color into the channels so that just the channel name is in a different color with the output text in another.
In other words Immtalk would come out as say.. Blue and the message text comes out as yellow.
Thoughts?
This is what my code looks like right now:
case CHANNEL_IMMTALK:
case CHANNEL_AVTALK:
sprintf( buf, "<Immortal: $n %c $t", channel == CHANNEL_IMMTALK ? '>' : ':' );
position = ch->position;
ch->position = POS_STANDING;
act( AT_IMMORT, buf, ch, argument, NULL, TO_CHAR );
ch->position = position;
break;
}