Translations:Binds/53/zh: Difference between revisions

From DDraceNetwork
By (talk | contribs)
Created page with "回应(英语:echo)指令可以让您更清楚的了解您执行了什么设置/指令。 [设置/指令] [参数] [设置/指令] [参数] {{color|blue|echo}} {{color|purple|设置开}} bind [按键] exec 配置文件1.cfg 这样当您按下[按键]时,聊天框会显示“设置开”。 您更可以加上颜色: [设置/指令] [参数] [设置/指令] [参数] {{color|blue|cl_message_client_color}} {{color|purple|red}} {{color|blue|..."
 
Darkh (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
应(英语:echo)指令可以让您更清楚的了解您执行了什么设/指令
显(Echo)指令可以返回一些自定义的信息,比如自己设置的提示,让您明确您执行了文件
  [设置/指令] [参数]
  [设置/指令] [参数]
  [设置/指令] [参数]
  [设置/指令] [参数]
   
   
  {{color|blue|echo}} {{color|purple|设置}}
  {{color|blue|echo}} {{color|purple|设置,启用!}}
   
   
  bind [按键] exec 配置文件1.cfg
  bind [按键] exec 配置文件1.cfg
这样当您按下[按键]时,聊天框会示“设置”。
这样当您按下[按键],而配置文件执行到回显(echo)那一行时,聊天框示“设置,启用!”。


可以加上颜色:
可以加上颜色:
  [设置/指令] [参数]
  [设置/指令] [参数]
  [设置/指令] [参数]
  [设置/指令] [参数]
   
   
  {{color|blue|cl_message_client_color}} {{color|purple|red}}
  {{color|blue|cl_message_client_color}} {{color|purple|red}}
  {{color|blue|echo}} {{color|purple|设置关}}
  {{color|blue|echo}} {{color|purple|设置闭!}}
   
   
  bind [按键] exec 配置文件1.cfg
  bind [按键] exec 配置文件1.cfg
这样当您按下[按键]时,聊天框会示“{{color|red|设置关}}”。将开关定为不同的颜色,可方便您了解您执行了什么设/指令
这样当您按下[按键]时,聊天框示“{{color|red|设置闭!}}”。将回显消息定为不同的颜色,可方便您辨识所执行的配文件

Latest revision as of 03:39, 3 July 2023

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Binds)
As a more clear way to show which file you're activating when you press a bind, you can use the '''echo''' command to display which one is active.
 [command/setting] [value]
 [command/setting] [value]
 
 <span style="color:blue">echo</span> <span style="color:purple">setting ON</span>
 
 bind [key] exec file1.cfg
To take this a step further, there is a command to change the color of the echo messages.
 [command/setting] [value]
 [command/setting] [value]
 
 <span style="color:blue">cl_message_client_color</span> <span style="color:purple">red</span>
 <span style="color:blue">echo</span> <span style="color:purple">setting OFF</span>
 
 bind [key] exec file1.cfg
Having different colors for "on" and "off" binds makes it a bit easier to notice which setting you've activated.  If you want to get more creative with colors, see [https://wiki.ddnet.org/wiki/Binds#Colors colors].

回显(Echo)指令可以返回一些自定义的信息,比如自己设置的提示,让您明确您执行了配置文件。

[设置/指令] [参数]
[设置/指令] [参数]

echo 设置,启用!

bind [按键] exec 配置文件1.cfg

这样当您按下[按键],而配置文件执行到回显(echo)那一行时,聊天框内会提示“设置,启用!”。

您还可以加上颜色:

[设置/指令] [参数]
[设置/指令] [参数]

cl_message_client_color red
echo 设置,关闭!

bind [按键] exec 配置文件1.cfg

这样当您按下[按键]时,聊天框内会提示“设置,关闭!”。将回显消息定为不同的颜色,可方便您辨识所执行的配置文件。