Translations:Binds/10/zh

From DDraceNetwork
Revision as of 09:41, 14 February 2023 by By (talk | contribs) (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|orange|\\\}}{{color|red|"}}{{color|orange|\}}{{color|red|""}} 客户端的字符长度限制...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

您可以使用反斜槓將一條綁定嵌套在另一綁定中:

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

客戶端的字符長度限制為255,而每一層嵌套的反斜槓數量為上一層的反斜槓數量乘二加一。倘若您使用六層嵌套,反斜槓數量將會是240個(1*2 + 3*2 + 7*2 + 15*2 + 31*2 + 63*2),這樣您只剩15個字符可鍵入,因此只能接受最多五層嵌套。每一層的反斜槓數量如下: