<$val()> » 历史记录 » 版本 2
yangdefeng, 2023-06-06 09:34
1 | 1 | yangdefeng | h4. _*%{color:green}<$val()>%*_ |
---|---|---|---|
2 | |||
3 | 将[[脚本变量]]的值转换为字符串,用于文本输出 |
||
4 | 即脚本变量返回以S,D,P等开头的值,不再二次取值 |
||
5 | |||
6 | 标签:命令定义|<$val()> |
||
7 | |||
8 | *格式* |
||
9 | <$val(变量名)> |
||
10 | |||
11 | - |
||
12 | - |
||
13 | |||
14 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
15 | |||
16 | bq. [@main] |
||
17 | #if |
||
18 | #act |
||
19 | 2 | yangdefeng | %{color:lightGrey};假设玩家叫 s1% |
20 | 1 | yangdefeng | print 玩家名称<$val(<$userName>)> |