Givegold » 历史记录 » 版本 5
yangdefeng, 2022-05-17 16:51
1 | 1 | machenhe | _*%{color:green}giveGold%*_ |
---|---|---|---|
2 | |||
3 | 5 | yangdefeng | 修改角色的<$goldCount>变量值 |
4 | 1 | machenhe | |
5 | 标签:命令定义|giveGold |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |giveGold |操作符(+,-,=) |数目 | |
||
10 | |||
11 | 说明: |
||
12 | * 参数1 |
||
13 | 操作符(+,-,=) |
||
14 | ** +:增加相应数值 |
||
15 | ** -:减小相应数值 |
||
16 | ** =:赋值相应数值 |
||
17 | |||
18 | * 参数2 |
||
19 | 数目 |
||
20 | |||
21 | *%{color:deepskyblue}脚本示例:%* |
||
22 | |||
23 | bq. [<notextile>@</notextile>giveGold1] |
||
24 | #act |
||
25 | 2 | yangdefeng | giveGold + 10 |
26 | sendMsg 6 数量:<$goldCount> |
||
27 | 1 | machenhe | |
28 | bq. [<notextile>@</notextile>giveGold2] |
||
29 | #act |
||
30 | 2 | yangdefeng | giveGold - 10 |
31 | sendMsg 6 数量:<$goldCount> |
||
32 | 1 | machenhe | |
33 | bq. [<notextile>@</notextile>giveGold3] |
||
34 | #act |
||
35 | 2 | yangdefeng | giveGold = 50 |
36 | sendMsg 6 数量:<$goldCount> |