Translations:Binds/12/zh: Difference between revisions

From DDraceNetwork
EdEnd (talk | contribs)
No edit summary
Darkh (talk | contribs)
No edit summary
 
Line 8: Line 8:
   {{color|orange|\}}{{color|red|"}}
   {{color|orange|\}}{{color|red|"}}
   {{color|red|"}}
   {{color|red|"}}
'''提示:'''你无法通过以上代码使一个cfg文件运行。这个例子只是为了清晰的展示出嵌套的用法。
'''注意'''你无法通过以上代码使一个cfg文件运行。这个例子只是为了清晰的展示出嵌套的用法。

Latest revision as of 01:44, 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)
 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文件运行。这个例子只是为了清晰的展示出嵌套的用法。