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
➜ Channel help
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Sun 18 Sep 2005 02:12 AM (UTC) |
Message
| Trying to make newbie channel different from the default, so i was wondering if someone would mind helping me with changing it? |
Everything turns around in the end | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #1 on Sun 18 Sep 2005 02:29 AM (UTC) |
Message
| You mean of how it is displayed? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #2 on Sun 18 Sep 2005 02:41 AM (UTC) |
Message
| Right, because in 1.6 chat newbie and think are used by the default, so i thought ok maybe just add a seperate case for the channel, and that didn't seem to work. |
Everything turns around in the end | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #3 on Sun 18 Sep 2005 02:54 AM (UTC) |
Message
| In act_comm.c in the talk_channel function, add a new case, like I have:
switch ( channel )
{
default:
set_char_color( AT_GOSSIP, ch );
ch_printf( ch, "You %s &W'&w%s%s&W'&D\n\r", verb, argument, ANSI_RESET );
sprintf( buf, "$n %ss &W'&w$t%s&W'&D", verb, ANSI_RESET );
break;
case CHANNEL_CHAT:
set_char_color( AT_GOSSIP, ch );
ch_printf( ch, "You %s &w'&c%s%s&w'&D\n\r", verb, argument, ANSI_RESET );
sprintf( buf, "$n %ss &w'&c$t%s&w'&D", verb, ANSI_RESET );
break;
|
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #4 on Sun 18 Sep 2005 02:59 AM (UTC) |
Message
| Now see, I did that and it didn't work |
Everything turns around in the end | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #5 on Sun 18 Sep 2005 03:04 AM (UTC) |
Message
| doh, i see my mistake, thanks. |
Everything turns around in the end | Top |
|
Posted by
| Greven
Canada (835 posts) Bio
|
Date
| Reply #6 on Sun 18 Sep 2005 06:08 AM (UTC) |
Message
| What was your mistake? If you fix something but don't post the fix, people with this problem in the future will have to post again, and go through it all like you have. If you post the fix, then it can be referenced later. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | Top |
|
Posted by
| Metsuro
USA (389 posts) Bio
|
Date
| Reply #7 on Sun 18 Sep 2005 02:08 PM (UTC) |
Message
| Oh I was using case CHANNEL_MEWBIECHAT when its labeled i guess as CHANNEL_NEWBIE. |
Everything turns around in the end | 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.
21,157 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top