How do I edit the variables?

Posted by Gunner on Wed 18 May 2011 04:16 AM — 4 posts, 20,117 views.

Argentina #0
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
USA #1
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 );
Argentina #2
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?
USA #3
Are you trying to translate it from English?