Translations:Binds/12/zh: Difference between revisions

From DDraceNetwork
(Created page with "bind {{color|green|[按键]}} {{color|red|"}}bind {{color|green|[按键]}} {{color|orange|\}}{{color|red|"}}{{color|blue|[设置/指令]}} {{color|purple|[参数]}}{{color|red|;}} bind {{color|green|[按键]}} {{color|orange|\\\}}{{color|red|"}}{{color|blue|[设置/指令]}} {{color|purple|[参数]}}{{color|red|;}} bind {{color|green|[按键]}} {{color|orange|\\\\\\\}}{{color|red|"}}{{color|blue|[设置/指令]}} {{color|purple|[参数]}} {{c...")
 
No edit summary
Line 8: Line 8:
   {{color|orange|\}}{{color|red|"}}
   {{color|orange|\}}{{color|red|"}}
   {{color|red|"}}
   {{color|red|"}}
'''提示:'''你无法通过以上代码使一个cfg文件运行。这个例子只是为了清晰的展示出嵌套的用法。

Revision as of 18:59, 27 May 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)
 bind <span style="color:green">[key]</span> 
  <span style="color:red">"</span>bind <span style="color:green">[key]</span> 
   <span style="color:orange">\</span><span style="color:red">"</span><span style="color:blue">[command/setting]</span> <span style="color:purple">[value]</span><span style="color:red">;</span> bind <span style="color:green">[key]</span>
   <span style="color:orange">\\\</span><span style="color:red">"</span><span style="color:blue">[command/setting]</span> <span style="color:purple">[value]</span><span style="color:red">;</span> bind <span style="color:green">[key]</span> 
     <span style="color:orange">\\\\\\\</span><span style="color:red">"</span><span style="color:blue">[command/setting]</span> <span style="color:purple">[value]</span>
     <span style="color:orange">\\\\\\\</span><span style="color:red">"</span>
   <span style="color:orange">\\\</span><span style="color:red">"</span>
   <span style="color:orange">\</span><span style="color:red">"</span>
  <span style="color:red">"</span>
'''Note:''' You cannot run a config file formatted as the example above is, it will not work.  This example is just to get a clear visual idea of how a nested bind is constructed.

bind [按键]

 "bind [按键] 
  \"[设置/指令] [参数]; bind [按键] 
   \\\"[设置/指令] [参数]; bind [按键] 
    \\\\\\\"[设置/指令] [参数]
    \\\\\\\"
   \\\"
  \"
 "

提示:你无法通过以上代码使一个cfg文件运行。这个例子只是为了清晰的展示出嵌套的用法。