Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ smaugFUSS Chat Color tokens?
|
smaugFUSS Chat Color tokens?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| TehL33TJim
(12 posts) Bio
|
| Date
| Fri 31 Aug 2018 06:23 AM (UTC) Amended on Fri 31 Aug 2018 06:49 AM (UTC) by Nick Gammon
|
| Message
| act_comm.c - around line 411 I've added a case for CHANNEL_CHAT so I can change the way the chat shows up.
case CHANNEL_CHAT:
ch_printf( ch, "^r&W%s@you:^x &c'&C%s&c'&d\r\n", verb, argument );
snprintf( buf, MAX_STRING_LENGTH, "^r&W%s@$n:^x &c'&C$t&c'&d", verb );
break;
As the sender, it shows up fine [dark red background, white foreground to show Chat@You]. However the audience only see's Chat@Jim with white text, the darkred background does not seem to parse. Any thoughts on what I can do to remedy this? | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
7,242 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top