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
➜ How do I edit the variables?
|
How do I edit the variables?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Gunner
Argentina (31 posts) Bio
|
| Date
| Wed 18 May 2011 04:16 AM (UTC) |
| Message
| Hi, one a question.
How do I edit the variables?
Hi, one a question.
How do I edit the variables?
for example, to translate the variable %s | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #1 on Wed 18 May 2011 08:34 PM (UTC) |
| Message
| Not sure what you're asking. If you're looking to print a different variable, like this...
ch_printf( ch, "My name is %s", ch->name );
to a level:
ch_printf( ch, "My level is %s", ch->level );
|
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Gunner
Argentina (31 posts) Bio
|
| Date
| Reply #2 on Thu 19 May 2011 02:49 AM (UTC) |
| Message
| switch ( channel )
{
default:
set_char_color( AT_GOSSIP, ch );
ch_printf( ch, "%s '%s'\r\n", verb, argument );
snprintf( buf, MAX_STRING_LENGTH, "$n %ss '$t'", verb );
break;
case CHANNEL_RACETALK:
set_char_color( AT_RACETALK, ch );
ch_printf( ch, "%s '%s'\r\n", verb, argument );
snprintf( buf, MAX_STRING_LENGTH, "$n %ss '$t'", verb );
break;
How to translate this? | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #3 on Tue 24 May 2011 07:07 PM (UTC) |
| Message
| | Are you trying to translate it from English? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | 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.
19,146 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top